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,27 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
export function getUploadToken(_x, _x2) {
|
|
6
|
+
return _getUploadToken.apply(this, arguments);
|
|
7
|
+
}
|
|
8
|
+
function _getUploadToken() {
|
|
9
|
+
_getUploadToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
10
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12
|
+
case 0:
|
|
13
|
+
return _context.abrupt("return", request("user/workServer/getUploadToken", _objectSpread({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
headers: {
|
|
16
|
+
'Content-Type': 'application/json'
|
|
17
|
+
},
|
|
18
|
+
data: body
|
|
19
|
+
}, options || {})));
|
|
20
|
+
case 1:
|
|
21
|
+
case "end":
|
|
22
|
+
return _context.stop();
|
|
23
|
+
}
|
|
24
|
+
}, _callee);
|
|
25
|
+
}));
|
|
26
|
+
return _getUploadToken.apply(this, arguments);
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SoundInfo } from "../../base/soundInfo";
|
|
2
|
+
export declare function fileList(body: {
|
|
3
|
+
path: string[];
|
|
4
|
+
fileType: 'folder' | 'file' | '';
|
|
5
|
+
extTypes?: string[];
|
|
6
|
+
}, options?: ServicesApi.RequestOptions): Promise<string[][]>;
|
|
7
|
+
export declare function fileSelect(body: {
|
|
8
|
+
fileType: 'video' | 'video+image' | 'image' | 'sound' | string;
|
|
9
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<LocalFile.FileSelect>;
|
|
10
|
+
export declare function folderSelect(body: {
|
|
11
|
+
defaultPath: string;
|
|
12
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<LocalFile.FileSelect>;
|
|
13
|
+
export declare function folderCreate(body: {
|
|
14
|
+
folderPath: string;
|
|
15
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<LocalFile.FileCreate>;
|
|
16
|
+
export declare function openInFolder(body: {
|
|
17
|
+
filePath: string;
|
|
18
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<LocalFile.FileSelect>;
|
|
19
|
+
export declare function folderOpen(body: {
|
|
20
|
+
folderPath: string;
|
|
21
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<LocalFile.FileSelect>;
|
|
22
|
+
export declare function fileListContent(body: {
|
|
23
|
+
fileDir: string;
|
|
24
|
+
extName: string[];
|
|
25
|
+
maxCount: number;
|
|
26
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<string[]>;
|
|
27
|
+
export declare function soundInfo(body: {
|
|
28
|
+
filePath: string;
|
|
29
|
+
isShowCover?: boolean;
|
|
30
|
+
}, optionsQuery?: ServicesApi.RequestOptions): Promise<SoundInfo>;
|
|
31
|
+
export declare function downUrl(body: {
|
|
32
|
+
url: string;
|
|
33
|
+
savePath?: string;
|
|
34
|
+
saveName?: string;
|
|
35
|
+
}, options?: ServicesApi.RequestOptions): Promise<LocalFile.DownUrlResult>;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
export function fileList(_x, _x2) {
|
|
6
|
+
return _fileList.apply(this, arguments);
|
|
7
|
+
}
|
|
8
|
+
function _fileList() {
|
|
9
|
+
_fileList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
10
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12
|
+
case 0:
|
|
13
|
+
return _context.abrupt("return", request("_local/file/localFileList", _objectSpread({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
headers: {
|
|
16
|
+
'Content-Type': 'application/json'
|
|
17
|
+
},
|
|
18
|
+
data: body
|
|
19
|
+
}, options || {})));
|
|
20
|
+
case 1:
|
|
21
|
+
case "end":
|
|
22
|
+
return _context.stop();
|
|
23
|
+
}
|
|
24
|
+
}, _callee);
|
|
25
|
+
}));
|
|
26
|
+
return _fileList.apply(this, arguments);
|
|
27
|
+
}
|
|
28
|
+
export function fileSelect(_x3, _x4) {
|
|
29
|
+
return _fileSelect.apply(this, arguments);
|
|
30
|
+
}
|
|
31
|
+
function _fileSelect() {
|
|
32
|
+
_fileSelect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body, optionsQuery) {
|
|
33
|
+
var options;
|
|
34
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
35
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
36
|
+
case 0:
|
|
37
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
38
|
+
timeout: 120e3
|
|
39
|
+
});
|
|
40
|
+
return _context2.abrupt("return", request("_main/file/select", _objectSpread({
|
|
41
|
+
method: 'POST',
|
|
42
|
+
headers: {
|
|
43
|
+
'Content-Type': 'application/json'
|
|
44
|
+
},
|
|
45
|
+
data: body
|
|
46
|
+
}, options)));
|
|
47
|
+
case 2:
|
|
48
|
+
case "end":
|
|
49
|
+
return _context2.stop();
|
|
50
|
+
}
|
|
51
|
+
}, _callee2);
|
|
52
|
+
}));
|
|
53
|
+
return _fileSelect.apply(this, arguments);
|
|
54
|
+
}
|
|
55
|
+
export function folderSelect(_x5, _x6) {
|
|
56
|
+
return _folderSelect.apply(this, arguments);
|
|
57
|
+
}
|
|
58
|
+
function _folderSelect() {
|
|
59
|
+
_folderSelect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(body, optionsQuery) {
|
|
60
|
+
var options;
|
|
61
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
62
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
63
|
+
case 0:
|
|
64
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
65
|
+
timeout: 120e3
|
|
66
|
+
});
|
|
67
|
+
return _context3.abrupt("return", request("_main/file/folderSelect", _objectSpread({
|
|
68
|
+
method: 'POST',
|
|
69
|
+
headers: {
|
|
70
|
+
'Content-Type': 'application/json'
|
|
71
|
+
},
|
|
72
|
+
data: body
|
|
73
|
+
}, options || {})));
|
|
74
|
+
case 2:
|
|
75
|
+
case "end":
|
|
76
|
+
return _context3.stop();
|
|
77
|
+
}
|
|
78
|
+
}, _callee3);
|
|
79
|
+
}));
|
|
80
|
+
return _folderSelect.apply(this, arguments);
|
|
81
|
+
}
|
|
82
|
+
export function folderCreate(_x7, _x8) {
|
|
83
|
+
return _folderCreate.apply(this, arguments);
|
|
84
|
+
}
|
|
85
|
+
function _folderCreate() {
|
|
86
|
+
_folderCreate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body, optionsQuery) {
|
|
87
|
+
var options;
|
|
88
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
89
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
90
|
+
case 0:
|
|
91
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
92
|
+
timeout: 10e3
|
|
93
|
+
});
|
|
94
|
+
return _context4.abrupt("return", request("_main/file/folderCreate", _objectSpread({
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: {
|
|
97
|
+
'Content-Type': 'application/json'
|
|
98
|
+
},
|
|
99
|
+
data: body
|
|
100
|
+
}, options || {})));
|
|
101
|
+
case 2:
|
|
102
|
+
case "end":
|
|
103
|
+
return _context4.stop();
|
|
104
|
+
}
|
|
105
|
+
}, _callee4);
|
|
106
|
+
}));
|
|
107
|
+
return _folderCreate.apply(this, arguments);
|
|
108
|
+
}
|
|
109
|
+
export function openInFolder(_x9, _x10) {
|
|
110
|
+
return _openInFolder.apply(this, arguments);
|
|
111
|
+
}
|
|
112
|
+
function _openInFolder() {
|
|
113
|
+
_openInFolder = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(body, optionsQuery) {
|
|
114
|
+
var options;
|
|
115
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
116
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
117
|
+
case 0:
|
|
118
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
119
|
+
timeout: 120e3
|
|
120
|
+
});
|
|
121
|
+
return _context5.abrupt("return", request("_main/file/openInFolder", _objectSpread({
|
|
122
|
+
method: 'POST',
|
|
123
|
+
headers: {
|
|
124
|
+
'Content-Type': 'application/json'
|
|
125
|
+
},
|
|
126
|
+
data: body
|
|
127
|
+
}, options || {})));
|
|
128
|
+
case 2:
|
|
129
|
+
case "end":
|
|
130
|
+
return _context5.stop();
|
|
131
|
+
}
|
|
132
|
+
}, _callee5);
|
|
133
|
+
}));
|
|
134
|
+
return _openInFolder.apply(this, arguments);
|
|
135
|
+
}
|
|
136
|
+
export function folderOpen(_x11, _x12) {
|
|
137
|
+
return _folderOpen.apply(this, arguments);
|
|
138
|
+
}
|
|
139
|
+
function _folderOpen() {
|
|
140
|
+
_folderOpen = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(body, optionsQuery) {
|
|
141
|
+
var options;
|
|
142
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
143
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
144
|
+
case 0:
|
|
145
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
146
|
+
timeout: 120e3
|
|
147
|
+
});
|
|
148
|
+
return _context6.abrupt("return", request("_main/file/folderOpen", _objectSpread({
|
|
149
|
+
method: 'POST',
|
|
150
|
+
headers: {
|
|
151
|
+
'Content-Type': 'application/json'
|
|
152
|
+
},
|
|
153
|
+
data: body
|
|
154
|
+
}, options || {})));
|
|
155
|
+
case 2:
|
|
156
|
+
case "end":
|
|
157
|
+
return _context6.stop();
|
|
158
|
+
}
|
|
159
|
+
}, _callee6);
|
|
160
|
+
}));
|
|
161
|
+
return _folderOpen.apply(this, arguments);
|
|
162
|
+
}
|
|
163
|
+
export function fileListContent(_x13, _x14) {
|
|
164
|
+
return _fileListContent.apply(this, arguments);
|
|
165
|
+
}
|
|
166
|
+
function _fileListContent() {
|
|
167
|
+
_fileListContent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(body, optionsQuery) {
|
|
168
|
+
var options;
|
|
169
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
170
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
171
|
+
case 0:
|
|
172
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
173
|
+
timeout: 120e3
|
|
174
|
+
});
|
|
175
|
+
return _context7.abrupt("return", request("_main/file/fileListContent", _objectSpread({
|
|
176
|
+
method: 'POST',
|
|
177
|
+
headers: {
|
|
178
|
+
'Content-Type': 'application/json'
|
|
179
|
+
},
|
|
180
|
+
data: body
|
|
181
|
+
}, options || {})));
|
|
182
|
+
case 2:
|
|
183
|
+
case "end":
|
|
184
|
+
return _context7.stop();
|
|
185
|
+
}
|
|
186
|
+
}, _callee7);
|
|
187
|
+
}));
|
|
188
|
+
return _fileListContent.apply(this, arguments);
|
|
189
|
+
}
|
|
190
|
+
export function soundInfo(_x15, _x16) {
|
|
191
|
+
return _soundInfo.apply(this, arguments);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// 相对粗糙,假设文件都不大;
|
|
195
|
+
function _soundInfo() {
|
|
196
|
+
_soundInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(body, optionsQuery) {
|
|
197
|
+
var options;
|
|
198
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
199
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
200
|
+
case 0:
|
|
201
|
+
options = _objectSpread(_objectSpread({}, optionsQuery), {}, {
|
|
202
|
+
timeout: 120e3
|
|
203
|
+
});
|
|
204
|
+
return _context8.abrupt("return", request("_main/sound/info", _objectSpread({
|
|
205
|
+
method: 'POST',
|
|
206
|
+
headers: {
|
|
207
|
+
'Content-Type': 'application/json'
|
|
208
|
+
},
|
|
209
|
+
data: body
|
|
210
|
+
}, options || {})));
|
|
211
|
+
case 2:
|
|
212
|
+
case "end":
|
|
213
|
+
return _context8.stop();
|
|
214
|
+
}
|
|
215
|
+
}, _callee8);
|
|
216
|
+
}));
|
|
217
|
+
return _soundInfo.apply(this, arguments);
|
|
218
|
+
}
|
|
219
|
+
export function downUrl(_x17, _x18) {
|
|
220
|
+
return _downUrl.apply(this, arguments);
|
|
221
|
+
}
|
|
222
|
+
function _downUrl() {
|
|
223
|
+
_downUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(body, options) {
|
|
224
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
225
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
226
|
+
case 0:
|
|
227
|
+
if (body.savePath) {
|
|
228
|
+
if (!/\/$/.test(body.savePath)) {
|
|
229
|
+
body.savePath += '/';
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return _context9.abrupt("return", request("_local/file/downUrl", _objectSpread({
|
|
233
|
+
method: 'POST',
|
|
234
|
+
headers: {
|
|
235
|
+
'Content-Type': 'application/json'
|
|
236
|
+
},
|
|
237
|
+
data: body
|
|
238
|
+
}, _objectSpread(_objectSpread({}, options), {}, {
|
|
239
|
+
// 超时时间
|
|
240
|
+
timeout: 20 * 6e4
|
|
241
|
+
}))));
|
|
242
|
+
case 2:
|
|
243
|
+
case "end":
|
|
244
|
+
return _context9.stop();
|
|
245
|
+
}
|
|
246
|
+
}, _callee9);
|
|
247
|
+
}));
|
|
248
|
+
return _downUrl.apply(this, arguments);
|
|
249
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function chromeQuit(body: LocalServer.ChromeQuitQuery, options?: Global.RequestOptions): Promise<PublishTaskPlan.TaskDetail>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
import AccountManageSettingConfig from "../../lib/accountManageSettingConfig";
|
|
6
|
+
export function chromeQuit(_x, _x2) {
|
|
7
|
+
return _chromeQuit.apply(this, arguments);
|
|
8
|
+
}
|
|
9
|
+
function _chromeQuit() {
|
|
10
|
+
_chromeQuit = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
11
|
+
var setting;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
setting = AccountManageSettingConfig();
|
|
16
|
+
return _context.abrupt("return", request("http://127.0.0.1:".concat(window.__ShipinlvLocalServerPort, "/chrome/quit"), _objectSpread({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
headers: {
|
|
19
|
+
'Content-Type': 'application/json'
|
|
20
|
+
},
|
|
21
|
+
data: _objectSpread({}, body),
|
|
22
|
+
timeout: 10e3,
|
|
23
|
+
silent: true
|
|
24
|
+
}, options || {})));
|
|
25
|
+
case 2:
|
|
26
|
+
case "end":
|
|
27
|
+
return _context.stop();
|
|
28
|
+
}
|
|
29
|
+
}, _callee);
|
|
30
|
+
}));
|
|
31
|
+
return _chromeQuit.apply(this, arguments);
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sendMessageToPort(body: PublishTaskPlan.ReportTaskQuery, options?: Global.RequestOptions): Promise<PublishTaskPlan.TaskDetail>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
import AccountManageSettingConfig from "../../lib/accountManageSettingConfig";
|
|
6
|
+
export function sendMessageToPort(_x, _x2) {
|
|
7
|
+
return _sendMessageToPort.apply(this, arguments);
|
|
8
|
+
}
|
|
9
|
+
function _sendMessageToPort() {
|
|
10
|
+
_sendMessageToPort = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
11
|
+
var setting;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
setting = AccountManageSettingConfig();
|
|
16
|
+
return _context.abrupt("return", request("http://127.0.0.1:".concat(setting.sendMessageToPort, "/publish/result"), _objectSpread({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
headers: {
|
|
19
|
+
'Content-Type': 'application/json'
|
|
20
|
+
},
|
|
21
|
+
data: _objectSpread({}, body),
|
|
22
|
+
timeout: 10e3,
|
|
23
|
+
silent: true
|
|
24
|
+
}, options || {})));
|
|
25
|
+
case 2:
|
|
26
|
+
case "end":
|
|
27
|
+
return _context.stop();
|
|
28
|
+
}
|
|
29
|
+
}, _callee);
|
|
30
|
+
}));
|
|
31
|
+
return _sendMessageToPort.apply(this, arguments);
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
export function getLocalVideoServerDir(_x, _x2) {
|
|
6
|
+
return _getLocalVideoServerDir.apply(this, arguments);
|
|
7
|
+
}
|
|
8
|
+
function _getLocalVideoServerDir() {
|
|
9
|
+
_getLocalVideoServerDir = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
10
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12
|
+
case 0:
|
|
13
|
+
return _context.abrupt("return", request("_video-api/base/getLocalVideoServerDir", _objectSpread({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
headers: {
|
|
16
|
+
'Content-Type': 'application/json'
|
|
17
|
+
},
|
|
18
|
+
data: body
|
|
19
|
+
}, options || {})));
|
|
20
|
+
case 1:
|
|
21
|
+
case "end":
|
|
22
|
+
return _context.stop();
|
|
23
|
+
}
|
|
24
|
+
}, _callee);
|
|
25
|
+
}));
|
|
26
|
+
return _getLocalVideoServerDir.apply(this, arguments);
|
|
27
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
export function isExist(_x, _x2) {
|
|
6
|
+
return _isExist.apply(this, arguments);
|
|
7
|
+
}
|
|
8
|
+
function _isExist() {
|
|
9
|
+
_isExist = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
10
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12
|
+
case 0:
|
|
13
|
+
return _context.abrupt("return", request("_video-api/file/isExist", _objectSpread({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
headers: {
|
|
16
|
+
'Content-Type': 'application/json'
|
|
17
|
+
},
|
|
18
|
+
data: body
|
|
19
|
+
}, options || {})));
|
|
20
|
+
case 1:
|
|
21
|
+
case "end":
|
|
22
|
+
return _context.stop();
|
|
23
|
+
}
|
|
24
|
+
}, _callee);
|
|
25
|
+
}));
|
|
26
|
+
return _isExist.apply(this, arguments);
|
|
27
|
+
}
|
|
28
|
+
export function getFolderTxtListContent(_x3, _x4) {
|
|
29
|
+
return _getFolderTxtListContent.apply(this, arguments);
|
|
30
|
+
}
|
|
31
|
+
function _getFolderTxtListContent() {
|
|
32
|
+
_getFolderTxtListContent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body, options) {
|
|
33
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
34
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
35
|
+
case 0:
|
|
36
|
+
return _context2.abrupt("return", request("_video-api/file/getFolderTxtListContent", _objectSpread({
|
|
37
|
+
method: 'POST',
|
|
38
|
+
headers: {
|
|
39
|
+
'Content-Type': 'application/json'
|
|
40
|
+
},
|
|
41
|
+
data: body
|
|
42
|
+
}, options || {})));
|
|
43
|
+
case 1:
|
|
44
|
+
case "end":
|
|
45
|
+
return _context2.stop();
|
|
46
|
+
}
|
|
47
|
+
}, _callee2);
|
|
48
|
+
}));
|
|
49
|
+
return _getFolderTxtListContent.apply(this, arguments);
|
|
50
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
export function saveSid(_x, _x2) {
|
|
6
|
+
return _saveSid.apply(this, arguments);
|
|
7
|
+
}
|
|
8
|
+
function _saveSid() {
|
|
9
|
+
_saveSid = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
10
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12
|
+
case 0:
|
|
13
|
+
return _context.abrupt("return", request("_video-api/sid/save", _objectSpread({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
headers: {
|
|
16
|
+
'Content-Type': 'application/json'
|
|
17
|
+
},
|
|
18
|
+
data: body
|
|
19
|
+
}, options || {})));
|
|
20
|
+
case 1:
|
|
21
|
+
case "end":
|
|
22
|
+
return _context.stop();
|
|
23
|
+
}
|
|
24
|
+
}, _callee);
|
|
25
|
+
}));
|
|
26
|
+
return _saveSid.apply(this, arguments);
|
|
27
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
+
import request from "../../lib/request";
|
|
5
|
+
export function openChrome(_x, _x2) {
|
|
6
|
+
return _openChrome.apply(this, arguments);
|
|
7
|
+
}
|
|
8
|
+
function _openChrome() {
|
|
9
|
+
_openChrome = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
|
|
10
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12
|
+
case 0:
|
|
13
|
+
return _context.abrupt("return", request("_video-api/chrome/chromeOpen", _objectSpread({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
headers: {
|
|
16
|
+
'Content-Type': 'application/json'
|
|
17
|
+
},
|
|
18
|
+
data: body
|
|
19
|
+
}, options || {})));
|
|
20
|
+
case 1:
|
|
21
|
+
case "end":
|
|
22
|
+
return _context.stop();
|
|
23
|
+
}
|
|
24
|
+
}, _callee);
|
|
25
|
+
}));
|
|
26
|
+
return _openChrome.apply(this, arguments);
|
|
27
|
+
}
|
|
28
|
+
export function quitChrome(_x3, _x4) {
|
|
29
|
+
return _quitChrome.apply(this, arguments);
|
|
30
|
+
}
|
|
31
|
+
function _quitChrome() {
|
|
32
|
+
_quitChrome = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body, options) {
|
|
33
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
34
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
35
|
+
case 0:
|
|
36
|
+
return _context2.abrupt("return", request("_video-api/chrome/quit", _objectSpread({
|
|
37
|
+
method: 'POST',
|
|
38
|
+
headers: {
|
|
39
|
+
'Content-Type': 'application/json'
|
|
40
|
+
},
|
|
41
|
+
data: body
|
|
42
|
+
}, options || {})));
|
|
43
|
+
case 1:
|
|
44
|
+
case "end":
|
|
45
|
+
return _context2.stop();
|
|
46
|
+
}
|
|
47
|
+
}, _callee2);
|
|
48
|
+
}));
|
|
49
|
+
return _quitChrome.apply(this, arguments);
|
|
50
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
declare namespace User {
|
|
2
|
+
type Gender = 1 | 2 | 0;
|
|
3
|
+
type BanState = '' | 'true' | 'false';
|
|
4
|
+
type Enabled = '' | 'true' | 'false';
|
|
5
|
+
type Role = '' | 'user' | 'dealer';
|
|
6
|
+
|
|
7
|
+
interface List {
|
|
8
|
+
id: number;
|
|
9
|
+
accountName: string;
|
|
10
|
+
// password: string;
|
|
11
|
+
nickname: string;
|
|
12
|
+
gender: Gender;
|
|
13
|
+
avatarUrl: string;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
expired: number;
|
|
16
|
+
parentUserInfo: {
|
|
17
|
+
id: number;
|
|
18
|
+
accountName: string;
|
|
19
|
+
nickname: string;
|
|
20
|
+
gender: Gender;
|
|
21
|
+
avatarUrl: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface ListQuery{
|
|
26
|
+
keyWord: string;
|
|
27
|
+
enabled: '' | 'true' | 'false';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface ListResult {
|
|
31
|
+
list: List[];
|
|
32
|
+
pagination: Global.Pagination;
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface CreateForm {
|
|
37
|
+
id: number;
|
|
38
|
+
accountName: string;
|
|
39
|
+
password: string;
|
|
40
|
+
nickname: string;
|
|
41
|
+
gender: Gender;
|
|
42
|
+
avatarUrl: string;
|
|
43
|
+
enabled: boolean;
|
|
44
|
+
expired: moment.Moment;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface CreateQuery{
|
|
48
|
+
id: number;
|
|
49
|
+
accountName: string;
|
|
50
|
+
password: string;
|
|
51
|
+
nickname: string;
|
|
52
|
+
gender: Gender;
|
|
53
|
+
avatarUrl: string;
|
|
54
|
+
enabled: boolean;
|
|
55
|
+
isVerified: boolean;
|
|
56
|
+
expired: number | null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface UserInfo{
|
|
60
|
+
id: number;
|
|
61
|
+
avatarUrl: string;
|
|
62
|
+
nickname: string;
|
|
63
|
+
gender: Gender;
|
|
64
|
+
accountName: string;
|
|
65
|
+
isLogin: boolean;
|
|
66
|
+
sid: string;
|
|
67
|
+
role: Role;
|
|
68
|
+
isVerified: boolean;
|
|
69
|
+
userVip: {
|
|
70
|
+
[ productType: string]: UserVipInfo
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
interface UserVipInfo{
|
|
75
|
+
vipLevel: number; // 1,
|
|
76
|
+
isVip: boolean;
|
|
77
|
+
expired: number;
|
|
78
|
+
productType: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface StaffUserInfo{
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|