component-shipinlv 1.1.5 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Auth/index.d.ts +1 -1
- package/dist/Auth/index.js +2 -2
- package/dist/AuthClient/index.d.ts +1 -1
- package/dist/AuthClient/index.js +2 -2
- package/dist/AuthClient/login-reg.d.ts +1 -1
- package/dist/AuthClient/login-reg.js +3 -3
- package/dist/AuthClient/login.d.ts +1 -1
- package/dist/AuthClient/login.js +2 -2
- package/dist/AuthClient/qr/index.d.ts +1 -1
- package/dist/AuthClient/qr/index.js +2 -2
- package/dist/AuthClient/reg.d.ts +1 -1
- package/dist/AuthClient/reg.js +2 -2
- package/dist/VideoPublish/create-task/base/index.js +13 -9
- package/dist/config/apiUrls.js +1 -1
- package/dist/service/api/AuthController.d.ts +2 -0
- package/package.json +1 -1
package/dist/Auth/index.d.ts
CHANGED
package/dist/Auth/index.js
CHANGED
@@ -26,7 +26,7 @@ var FromWhere = 'web';
|
|
26
26
|
// 逐渐弃用 AuthClient ,使用 本函数
|
27
27
|
var Auth = function Auth(_ref) {
|
28
28
|
var productType = _ref.productType,
|
29
|
-
|
29
|
+
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
30
30
|
loginTypeList = _ref.loginTypeList,
|
31
31
|
env = _ref.env,
|
32
32
|
_ref$domain = _ref.domain,
|
@@ -322,7 +322,7 @@ var Auth = function Auth(_ref) {
|
|
322
322
|
children: /*#__PURE__*/_jsx(AuthLoginReg, {
|
323
323
|
env: env,
|
324
324
|
productType: productType,
|
325
|
-
|
325
|
+
clientUniqueKeyList: clientUniqueKeyList,
|
326
326
|
accountRegDisabled: !loginTypeList.includes('account-reg'),
|
327
327
|
onSuccess: function onSuccess() {
|
328
328
|
return onLoginSuccess();
|
package/dist/AuthClient/index.js
CHANGED
@@ -4,7 +4,7 @@ import Tool from "../lib/Tool";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
5
5
|
var Auth = function Auth(_ref) {
|
6
6
|
var productType = _ref.productType,
|
7
|
-
|
7
|
+
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
8
8
|
defaultLoginType = _ref.defaultLoginType,
|
9
9
|
wechatDisabled = _ref.wechatDisabled,
|
10
10
|
accountDisabled = _ref.accountDisabled,
|
@@ -18,7 +18,7 @@ var Auth = function Auth(_ref) {
|
|
18
18
|
};
|
19
19
|
return /*#__PURE__*/_jsx(LoginQr, {
|
20
20
|
productType: productType,
|
21
|
-
|
21
|
+
clientUniqueKeyList: clientUniqueKeyList,
|
22
22
|
defaultLoginType: defaultLoginType,
|
23
23
|
wechatDisabled: wechatDisabled,
|
24
24
|
accountDisabled: accountDisabled,
|
@@ -10,7 +10,7 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
var AuthLoginReg = function AuthLoginReg(_ref) {
|
11
11
|
var env = _ref.env,
|
12
12
|
productType = _ref.productType,
|
13
|
-
|
13
|
+
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
14
14
|
_ref$activeKeyDefault = _ref.activeKeyDefault,
|
15
15
|
activeKeyDefault = _ref$activeKeyDefault === void 0 ? 'reg' : _ref$activeKeyDefault,
|
16
16
|
accountRegDisabled = _ref.accountRegDisabled,
|
@@ -48,7 +48,7 @@ var AuthLoginReg = function AuthLoginReg(_ref) {
|
|
48
48
|
children: /*#__PURE__*/_jsx(AuthLogin, {
|
49
49
|
env: env,
|
50
50
|
productType: productType,
|
51
|
-
|
51
|
+
clientUniqueKeyList: clientUniqueKeyList,
|
52
52
|
onSuccess: function onSuccess() {
|
53
53
|
return _onSuccess();
|
54
54
|
}
|
@@ -58,7 +58,7 @@ var AuthLoginReg = function AuthLoginReg(_ref) {
|
|
58
58
|
children: /*#__PURE__*/_jsx(Reg, {
|
59
59
|
env: env,
|
60
60
|
productType: productType,
|
61
|
-
|
61
|
+
clientUniqueKeyList: clientUniqueKeyList,
|
62
62
|
onSuccess: function onSuccess() {
|
63
63
|
return _onSuccess();
|
64
64
|
}
|
package/dist/AuthClient/login.js
CHANGED
@@ -46,7 +46,7 @@ var tailFormItemLayout = {
|
|
46
46
|
var AuthReg = function AuthReg(_ref) {
|
47
47
|
var env = _ref.env,
|
48
48
|
productType = _ref.productType,
|
49
|
-
|
49
|
+
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
50
50
|
_ref$onSuccess = _ref.onSuccess,
|
51
51
|
onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess;
|
52
52
|
var _useState = useState(false),
|
@@ -60,7 +60,7 @@ var AuthReg = function AuthReg(_ref) {
|
|
60
60
|
var unbind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
61
61
|
return AuthController.login(_objectSpread(_objectSpread({
|
62
62
|
productType: productType,
|
63
|
-
|
63
|
+
clientUniqueKeyList: clientUniqueKeyList,
|
64
64
|
from: "web"
|
65
65
|
}, data), {}, {
|
66
66
|
unbind: unbind,
|
@@ -24,7 +24,7 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
24
24
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
25
25
|
var LoginQr = function LoginQr(_ref) {
|
26
26
|
var productType = _ref.productType,
|
27
|
-
|
27
|
+
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
28
28
|
defaultLoginType = _ref.defaultLoginType,
|
29
29
|
wechatDisabled = _ref.wechatDisabled,
|
30
30
|
accountDisabled = _ref.accountDisabled,
|
@@ -324,7 +324,7 @@ var LoginQr = function LoginQr(_ref) {
|
|
324
324
|
disabled: accountDisabled,
|
325
325
|
children: /*#__PURE__*/_jsx(AuthLoginReg, {
|
326
326
|
productType: productType,
|
327
|
-
|
327
|
+
clientUniqueKeyList: clientUniqueKeyList,
|
328
328
|
accountRegDisabled: accountRegDisabled,
|
329
329
|
onSuccess: function onSuccess() {
|
330
330
|
return onLoginSuccess();
|
package/dist/AuthClient/reg.d.ts
CHANGED
package/dist/AuthClient/reg.js
CHANGED
@@ -43,7 +43,7 @@ var tailFormItemLayout = {
|
|
43
43
|
var Reg = function Reg(_ref) {
|
44
44
|
var env = _ref.env,
|
45
45
|
productType = _ref.productType,
|
46
|
-
|
46
|
+
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
47
47
|
_ref$onSuccess = _ref.onSuccess,
|
48
48
|
onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess;
|
49
49
|
var _Form$useForm = Form.useForm(),
|
@@ -52,7 +52,7 @@ var Reg = function Reg(_ref) {
|
|
52
52
|
var _useRequest = useRequest(function (data) {
|
53
53
|
return AuthController.reg(_objectSpread(_objectSpread({
|
54
54
|
productType: productType,
|
55
|
-
|
55
|
+
clientUniqueKeyList: clientUniqueKeyList
|
56
56
|
}, data), {}, {
|
57
57
|
inviteUserId: Tool.getInviteUserId()
|
58
58
|
}), {
|
@@ -82,15 +82,19 @@ var VideoPublishCreateTaskBase = function VideoPublishCreateTaskBase(_ref) {
|
|
82
82
|
key: "account-".concat(items.id)
|
83
83
|
});
|
84
84
|
});
|
85
|
-
var
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
85
|
+
var list = Object.values(dict);
|
86
|
+
var treeData = [];
|
87
|
+
if (list.length > 0) {
|
88
|
+
treeData.push({
|
89
|
+
key: 'all',
|
90
|
+
value: 'all',
|
91
|
+
title: /*#__PURE__*/_jsx(Tag, {
|
92
|
+
color: "blue",
|
93
|
+
children: "\u5168\u90E8"
|
94
|
+
}),
|
95
|
+
children: list
|
96
|
+
});
|
97
|
+
}
|
94
98
|
setTreeVideoAccountData(treeData);
|
95
99
|
}
|
96
100
|
}),
|
package/dist/config/apiUrls.js
CHANGED
@@ -3,6 +3,7 @@ export declare function login(body: {
|
|
3
3
|
accountName: string;
|
4
4
|
password: string;
|
5
5
|
from: "web";
|
6
|
+
clientUniqueKeyList?: string[];
|
6
7
|
inviteUserId: number;
|
7
8
|
}, options?: ServicesApi.RequestOptions): Promise<UserAuth.LoginSuccessData>;
|
8
9
|
export declare function weMiniLoginQr(body: {
|
@@ -18,4 +19,5 @@ export declare function reg(body: {
|
|
18
19
|
accountName: string;
|
19
20
|
password: string;
|
20
21
|
inviteUserId: number;
|
22
|
+
clientUniqueKeyList?: string[];
|
21
23
|
}, options?: ServicesApi.RequestOptions): Promise<UserAuth.LoginSuccessData>;
|