component-shipinlv 1.0.35 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/UI/LayoutContent.d.ts +18 -0
- package/dist/UI/LayoutContent.js +73 -0
- package/dist/UI/LayoutContent.less +60 -0
- package/dist/UI/PageContentWarp.less +1 -1
- package/dist/UI/PageLoading.d.ts +3 -0
- package/dist/UI/PageLoading.js +11 -0
- package/dist/UI/PageLoading.less +7 -0
- package/dist/VideoPublish/account-manage/home.d.ts +9 -0
- package/dist/VideoPublish/account-manage/home.js +170 -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 +10 -0
- package/dist/VideoPublish/account-manage/list.js +428 -0
- package/dist/VideoPublish/account-manage/list.less +154 -0
- package/dist/VideoPublish/account-manage/setting/index.d.ts +6 -0
- package/dist/VideoPublish/account-manage/setting/index.js +69 -0
- package/dist/VideoPublish/account-manage/setting/index.less +9 -0
- package/dist/VideoPublish/create-task/base/index.d.ts +10 -0
- package/dist/VideoPublish/create-task/base/index.js +315 -0
- package/dist/VideoPublish/create-task/base/index.less +64 -0
- package/dist/VideoPublish/create-task/index.js +294 -0
- package/dist/VideoPublish/index.d.ts +1 -0
- package/dist/VideoPublish/index.js +40 -11
- package/dist/VideoPublish/log/index.d.ts +2 -0
- package/dist/VideoPublish/log/index.js +122 -0
- package/dist/VideoPublish/log/index.less +83 -0
- package/dist/VideoPublish/video-account/query.js +1 -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/video-platform/logo.d.ts +1 -0
- package/dist/component/video-platform/logo.js +6 -0
- package/dist/config/apiUrls.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/accountManageSettingConfig.d.ts +2 -0
- package/dist/lib/accountManageSettingConfig.js +15 -0
- package/dist/lib/event.d.ts +7 -0
- package/dist/lib/event.js +59 -0
- package/dist/lib/getLocalUserInfo.d.ts +2 -0
- package/dist/lib/getLocalUserInfo.js +19 -0
- package/dist/lib/math.d.ts +38 -0
- package/dist/lib/math.js +146 -0
- package/dist/lib/sleep.d.ts +2 -0
- package/dist/lib/sleep.js +23 -0
- package/dist/lib/store.d.ts +7 -0
- package/dist/lib/store.js +36 -0
- package/dist/lib/toast.d.ts +2 -0
- package/dist/lib/toast.js +8 -0
- package/dist/lib/toastError.d.ts +2 -0
- package/dist/lib/toastError.js +8 -0
- package/dist/service/api/VideoPublishVideoAccountController.d.ts +13 -0
- package/dist/service/api/VideoPublishVideoAccountController.js +140 -0
- package/dist/types/PublishNpm.d.ts +36 -0
- package/dist/types/PublishNpm.js +0 -0
- package/dist/types/PublishTaskPlan.d.ts +41 -0
- package/dist/types/PublishTaskPlan.js +0 -0
- package/dist/types/User.d.ts +83 -0
- package/dist/types/VideoPublish.d.ts +4 -2
- package/dist/types/VideoPublishLog.d.ts +32 -0
- package/dist/types/VideoPublishLog.js +0 -0
- package/dist/typings/VideoPublishAccountManageSetting.d.ts +5 -0
- package/dist/typings/VideoPublishAccountManageSetting.js +0 -0
- package/dist/typings/VideoPublishVideoAccount.d.ts +69 -0
- package/dist/typings/VideoPublishVideoAccount.js +0 -0
- package/dist/window.d.ts +9 -0
- package/package.json +2 -1
- package/dist/VideoPublish/creat-task/index.js +0 -569
- /package/dist/VideoPublish/{creat-task → create-task}/hour-enabled.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/hour-enabled.js +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/hour-enabled.less +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/index.css.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/index.css.js +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/index.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/select-list.css.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/select-list.css.js +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/select-list.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/select-list.js +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/task-list.css.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/task-list.css.js +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/task-list.d.ts +0 -0
- /package/dist/VideoPublish/{creat-task → create-task}/task-list.js +0 -0
@@ -48,4 +48,144 @@ function _editInfo() {
|
|
48
48
|
}, _callee2);
|
49
49
|
}));
|
50
50
|
return _editInfo.apply(this, arguments);
|
51
|
+
}
|
52
|
+
export function create(_x5, _x6) {
|
53
|
+
return _create.apply(this, arguments);
|
54
|
+
}
|
55
|
+
function _create() {
|
56
|
+
_create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(body, options) {
|
57
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
58
|
+
while (1) switch (_context3.prev = _context3.next) {
|
59
|
+
case 0:
|
60
|
+
return _context3.abrupt("return", request(PublishDomainApi("crawler/videoAccount/create", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
|
61
|
+
method: 'POST',
|
62
|
+
headers: {
|
63
|
+
'Content-Type': 'application/json'
|
64
|
+
},
|
65
|
+
data: _objectSpread({}, body)
|
66
|
+
}, options || {})));
|
67
|
+
case 1:
|
68
|
+
case "end":
|
69
|
+
return _context3.stop();
|
70
|
+
}
|
71
|
+
}, _callee3);
|
72
|
+
}));
|
73
|
+
return _create.apply(this, arguments);
|
74
|
+
}
|
75
|
+
export function expire(_x7, _x8) {
|
76
|
+
return _expire.apply(this, arguments);
|
77
|
+
}
|
78
|
+
function _expire() {
|
79
|
+
_expire = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body, options) {
|
80
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
81
|
+
while (1) switch (_context4.prev = _context4.next) {
|
82
|
+
case 0:
|
83
|
+
return _context4.abrupt("return", request(PublishDomainApi("user/promoter/expire", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
|
84
|
+
method: 'POST',
|
85
|
+
headers: {
|
86
|
+
'Content-Type': 'application/json'
|
87
|
+
},
|
88
|
+
data: _objectSpread({}, body)
|
89
|
+
}, options || {})));
|
90
|
+
case 1:
|
91
|
+
case "end":
|
92
|
+
return _context4.stop();
|
93
|
+
}
|
94
|
+
}, _callee4);
|
95
|
+
}));
|
96
|
+
return _expire.apply(this, arguments);
|
97
|
+
}
|
98
|
+
export function list(_x9, _x10) {
|
99
|
+
return _list.apply(this, arguments);
|
100
|
+
}
|
101
|
+
function _list() {
|
102
|
+
_list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(body, options) {
|
103
|
+
var url;
|
104
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
105
|
+
while (1) switch (_context5.prev = _context5.next) {
|
106
|
+
case 0:
|
107
|
+
url = PublishDomainApi("user/videoAccount/list", options === null || options === void 0 ? void 0 : options.env);
|
108
|
+
return _context5.abrupt("return", request(url, _objectSpread({
|
109
|
+
method: 'POST',
|
110
|
+
headers: {
|
111
|
+
'Content-Type': 'application/json'
|
112
|
+
},
|
113
|
+
data: body
|
114
|
+
}, options || {})));
|
115
|
+
case 2:
|
116
|
+
case "end":
|
117
|
+
return _context5.stop();
|
118
|
+
}
|
119
|
+
}, _callee5);
|
120
|
+
}));
|
121
|
+
return _list.apply(this, arguments);
|
122
|
+
}
|
123
|
+
export function del(_x11, _x12) {
|
124
|
+
return _del.apply(this, arguments);
|
125
|
+
}
|
126
|
+
function _del() {
|
127
|
+
_del = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(body, options) {
|
128
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
129
|
+
while (1) switch (_context6.prev = _context6.next) {
|
130
|
+
case 0:
|
131
|
+
return _context6.abrupt("return", request(PublishDomainApi("user/videoAccount/del", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
|
132
|
+
method: 'POST',
|
133
|
+
headers: {
|
134
|
+
'Content-Type': 'application/json'
|
135
|
+
},
|
136
|
+
data: _objectSpread({}, body)
|
137
|
+
}, options || {})));
|
138
|
+
case 1:
|
139
|
+
case "end":
|
140
|
+
return _context6.stop();
|
141
|
+
}
|
142
|
+
}, _callee6);
|
143
|
+
}));
|
144
|
+
return _del.apply(this, arguments);
|
145
|
+
}
|
146
|
+
export function detail(_x13, _x14) {
|
147
|
+
return _detail.apply(this, arguments);
|
148
|
+
}
|
149
|
+
function _detail() {
|
150
|
+
_detail = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(body, options) {
|
151
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
152
|
+
while (1) switch (_context7.prev = _context7.next) {
|
153
|
+
case 0:
|
154
|
+
return _context7.abrupt("return", request(PublishDomainApi("user/promoter/detail", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
|
155
|
+
method: 'POST',
|
156
|
+
headers: {
|
157
|
+
'Content-Type': 'application/json'
|
158
|
+
},
|
159
|
+
data: _objectSpread({}, body)
|
160
|
+
}, options || {})));
|
161
|
+
case 1:
|
162
|
+
case "end":
|
163
|
+
return _context7.stop();
|
164
|
+
}
|
165
|
+
}, _callee7);
|
166
|
+
}));
|
167
|
+
return _detail.apply(this, arguments);
|
168
|
+
}
|
169
|
+
export function SaveLoginStatus(_x15, _x16) {
|
170
|
+
return _SaveLoginStatus.apply(this, arguments);
|
171
|
+
}
|
172
|
+
function _SaveLoginStatus() {
|
173
|
+
_SaveLoginStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(body, options) {
|
174
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
175
|
+
while (1) switch (_context8.prev = _context8.next) {
|
176
|
+
case 0:
|
177
|
+
return _context8.abrupt("return", request(PublishDomainApi("/crawler/videoaccount/saveloginstatus", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
|
178
|
+
method: 'POST',
|
179
|
+
headers: {
|
180
|
+
'Content-Type': 'application/json'
|
181
|
+
},
|
182
|
+
data: _objectSpread({}, body)
|
183
|
+
}, options || {})));
|
184
|
+
case 1:
|
185
|
+
case "end":
|
186
|
+
return _context8.stop();
|
187
|
+
}
|
188
|
+
}, _callee8);
|
189
|
+
}));
|
190
|
+
return _SaveLoginStatus.apply(this, arguments);
|
51
191
|
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
declare namespace PublishNpm {
|
2
|
+
interface IpcRendererError {
|
3
|
+
code: 200 | 400;
|
4
|
+
platform: string;
|
5
|
+
platformVideoAccountId: string;
|
6
|
+
msg: string;
|
7
|
+
err: any;
|
8
|
+
}
|
9
|
+
type AccountResult = VideoPublishVideoAccount.CreateQueryDetail;
|
10
|
+
interface VideoPublishQuery {
|
11
|
+
platform: Global.VideoPlatformKind;
|
12
|
+
platformVideoAccountId: string;
|
13
|
+
open: boolean;
|
14
|
+
taskInfo: PublishTaskPlan.TaskInfo;
|
15
|
+
}
|
16
|
+
interface VideoPublishResult {
|
17
|
+
success: boolean;
|
18
|
+
code: string;
|
19
|
+
message: string;
|
20
|
+
data: {
|
21
|
+
platformVideoAccountId: string;
|
22
|
+
platform: Global.VideoPlatformKind;
|
23
|
+
open: boolean;
|
24
|
+
taskInfo: {
|
25
|
+
publishVideo: {
|
26
|
+
title: string;
|
27
|
+
introduction: string;
|
28
|
+
videoKindTag: string;
|
29
|
+
videoUrl: string;
|
30
|
+
publishTime: number;
|
31
|
+
kindTagValue: string;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
};
|
35
|
+
}
|
36
|
+
}
|
File without changes
|
@@ -0,0 +1,41 @@
|
|
1
|
+
declare namespace PublishTaskPlan {
|
2
|
+
type TaskType = "publish-video" | 'comment' | 'private-message';
|
3
|
+
type VideoKindTag = '' | 'shopping' | 'location' | 'min-app';
|
4
|
+
interface TaskDetail {
|
5
|
+
emptyLoopTimeSecond: number;
|
6
|
+
platformVideoAccountId: string;
|
7
|
+
platform: Global.VideoPlatformKind;
|
8
|
+
taskInfo: TaskInfo;
|
9
|
+
}
|
10
|
+
interface TaskInfo {
|
11
|
+
taskType: '' | TaskType;
|
12
|
+
taskId: number;
|
13
|
+
publishVideo?: TaskDetailPublishVideo;
|
14
|
+
comment?: TaskDetailComment;
|
15
|
+
privateMessage?: {
|
16
|
+
content: string;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
interface TaskDetailPublishVideo {
|
20
|
+
taskId: number;
|
21
|
+
title: string;
|
22
|
+
introduction: string;
|
23
|
+
videoKindTag: VideoKindTag;
|
24
|
+
kindTagValue: string;
|
25
|
+
videoUrl: string;
|
26
|
+
publishTime: number;
|
27
|
+
}
|
28
|
+
interface TaskDetailComment {
|
29
|
+
content: string;
|
30
|
+
}
|
31
|
+
interface ReportTaskQuery extends ReportTaskQueryBaseInfo {
|
32
|
+
success: boolean;
|
33
|
+
message: string;
|
34
|
+
}
|
35
|
+
interface ReportTaskQueryBaseInfo {
|
36
|
+
taskType: TaskType;
|
37
|
+
taskId: number;
|
38
|
+
platform: Global.VideoPlatformKind;
|
39
|
+
platformAccountId: string;
|
40
|
+
}
|
41
|
+
}
|
File without changes
|
@@ -0,0 +1,83 @@
|
|
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
|
+
}
|
79
|
+
|
80
|
+
interface StaffUserInfo{
|
81
|
+
|
82
|
+
}
|
83
|
+
}
|
@@ -106,9 +106,12 @@ declare namespace VideoPublish {
|
|
106
106
|
kindTagValue: string;
|
107
107
|
goodsTitle: string;
|
108
108
|
}
|
109
|
-
interface TaskCreate {
|
109
|
+
interface TaskCreate extends TaskCreateBaseData {
|
110
110
|
videoFrom: 'task' | 'local';
|
111
|
+
videoList: PublishVideoList[];
|
111
112
|
taskFromProductType: string;
|
113
|
+
}
|
114
|
+
interface TaskCreateBaseData {
|
112
115
|
normalVideoRate: number;
|
113
116
|
normalVideoRateType: 'hour' | 'day';
|
114
117
|
normalDayMaxCount: number;
|
@@ -120,7 +123,6 @@ declare namespace VideoPublish {
|
|
120
123
|
accountList: string[];
|
121
124
|
startTime: number | null;
|
122
125
|
hourEnabled: number[];
|
123
|
-
videoList: PublishVideoList[];
|
124
126
|
}
|
125
127
|
interface TaskListQuery {
|
126
128
|
startTime: number;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
declare namespace VideoPublishLog {
|
2
|
+
type Status = 'wait' | 'warn' | 'fail' | 'success';
|
3
|
+
interface Receive {
|
4
|
+
platform: Global.VideoPlatformKind;
|
5
|
+
platformAccountId: string;
|
6
|
+
code: string;
|
7
|
+
message: string;
|
8
|
+
status: Status;
|
9
|
+
taskId: number;
|
10
|
+
eventType: string;
|
11
|
+
}
|
12
|
+
interface Result {
|
13
|
+
success: boolean;
|
14
|
+
data: any;
|
15
|
+
eventType: string;
|
16
|
+
message: string;
|
17
|
+
platform: Global.VideoPlatformKind;
|
18
|
+
code: string;
|
19
|
+
}
|
20
|
+
interface LogData {
|
21
|
+
id: string;
|
22
|
+
taskId: number;
|
23
|
+
platform: Global.VideoPlatformKind;
|
24
|
+
platformAccountId: string;
|
25
|
+
logStatus: '' | Status;
|
26
|
+
content: string;
|
27
|
+
created: number;
|
28
|
+
}
|
29
|
+
interface StatusDict {
|
30
|
+
[status: string]: string;
|
31
|
+
}
|
32
|
+
}
|
File without changes
|
File without changes
|
@@ -0,0 +1,69 @@
|
|
1
|
+
declare namespace VideoPublishVideoAccount {
|
2
|
+
interface CreateQuery {
|
3
|
+
detail: CreateQueryDetail;
|
4
|
+
}
|
5
|
+
interface CreateQueryDetail {
|
6
|
+
avatar: string;
|
7
|
+
bindPhone: string;
|
8
|
+
nickname: string;
|
9
|
+
signature: string;
|
10
|
+
followerCount: number;
|
11
|
+
followingCount: number;
|
12
|
+
totalFavorited: number;
|
13
|
+
uniqueId: string;
|
14
|
+
accountId: string;
|
15
|
+
platform: Global.VideoPlatformKind;
|
16
|
+
subPlatform: string;
|
17
|
+
totalVideoCount: number;
|
18
|
+
}
|
19
|
+
interface SaveLoginStatus {
|
20
|
+
clientId: string;
|
21
|
+
platformVideoAccountId: string;
|
22
|
+
platform: string;
|
23
|
+
isLogin: boolean;
|
24
|
+
loginValidMessage: string;
|
25
|
+
}
|
26
|
+
interface ListResult {
|
27
|
+
list: List[];
|
28
|
+
pagination: Global.Pagination;
|
29
|
+
}
|
30
|
+
interface List {
|
31
|
+
id: number;
|
32
|
+
userId: number;
|
33
|
+
platform: Global.VideoPlatformKind;
|
34
|
+
groupId: number;
|
35
|
+
uniqueId: number;
|
36
|
+
accountId: string;
|
37
|
+
avatar: string;
|
38
|
+
bindPhone: string;
|
39
|
+
nickname: string;
|
40
|
+
signature: string;
|
41
|
+
isLoginValid: boolean;
|
42
|
+
followerCount: number;
|
43
|
+
followingCount: number;
|
44
|
+
favoritedCount: number;
|
45
|
+
videoCount: number;
|
46
|
+
created: number;
|
47
|
+
updated: number;
|
48
|
+
}
|
49
|
+
interface Detail {
|
50
|
+
id: number;
|
51
|
+
platform: Global.VideoPlatformKind;
|
52
|
+
uid: string;
|
53
|
+
dealerUserId: number;
|
54
|
+
shopName: string;
|
55
|
+
userId: string;
|
56
|
+
shopId: string;
|
57
|
+
isAuthorized: false;
|
58
|
+
isLoginValid: true;
|
59
|
+
cookie: string;
|
60
|
+
localStorage: string;
|
61
|
+
avatarUrl: string;
|
62
|
+
staffId: number;
|
63
|
+
created: number;
|
64
|
+
updated: number;
|
65
|
+
}
|
66
|
+
interface ExpireQuery {
|
67
|
+
promoterId: number;
|
68
|
+
}
|
69
|
+
}
|
File without changes
|
package/dist/window.d.ts
CHANGED
@@ -6,5 +6,14 @@ declare interface Window{
|
|
6
6
|
__wxjs_environment: string;
|
7
7
|
__recordError: any;
|
8
8
|
__ShipinlvMainPort: number;
|
9
|
+
__events: {
|
10
|
+
name: string;
|
11
|
+
fn: ( data?: any ) => void
|
12
|
+
}[];
|
13
|
+
bridge: () => {
|
14
|
+
ipcRenderer: {
|
15
|
+
invoke: ( name: string, ...arg) => Promise<any>;
|
16
|
+
}
|
17
|
+
};
|
9
18
|
}
|
10
19
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "component-shipinlv",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.37",
|
4
4
|
"description": "",
|
5
5
|
"module": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -71,6 +71,7 @@
|
|
71
71
|
"@umijs/hooks": "^1.9.3",
|
72
72
|
"dayjs": "^1.11.12",
|
73
73
|
"jr-qrcode": "^1.1.4",
|
74
|
+
"markdown-to-jsx": "^7.5.0",
|
74
75
|
"moment": "^2.29.4",
|
75
76
|
"qrcode.react": "^3.1.0",
|
76
77
|
"styled-components": "^6.1.8",
|