component-shipinlv 1.0.9 → 1.0.11

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.
Files changed (79) hide show
  1. package/dist/AuthClient/qr/index.css.js +1 -1
  2. package/dist/UI/DialogDrawerFooter.css.js +1 -1
  3. package/dist/UI/FileSize.css.d.ts +5 -0
  4. package/dist/UI/FileSize.css.js +6 -0
  5. package/dist/UI/FileSize.d.ts +10 -0
  6. package/dist/UI/FileSize.js +63 -0
  7. package/dist/UI/LoadError.css.js +1 -1
  8. package/dist/UI/Time.d.ts +8 -0
  9. package/dist/UI/Time.js +19 -0
  10. package/dist/UI/duration.css.d.ts +5 -0
  11. package/dist/UI/duration.css.js +6 -0
  12. package/dist/UI/duration.d.ts +6 -0
  13. package/dist/UI/duration.js +49 -0
  14. package/dist/UI/text-input.d.ts +13 -0
  15. package/dist/UI/text-input.js +108 -0
  16. package/dist/UI/text-input.less +19 -0
  17. package/dist/VideoPublish/creat-task/index.css.d.ts +5 -0
  18. package/dist/VideoPublish/creat-task/index.css.js +6 -0
  19. package/dist/VideoPublish/creat-task/index.d.ts +8 -0
  20. package/dist/VideoPublish/creat-task/index.js +454 -0
  21. package/dist/VideoPublish/creat-task/select-list.css.d.ts +5 -0
  22. package/dist/VideoPublish/creat-task/select-list.css.js +6 -0
  23. package/dist/VideoPublish/creat-task/select-list.d.ts +8 -0
  24. package/dist/VideoPublish/creat-task/select-list.js +258 -0
  25. package/dist/VideoPublish/creat-task/task-list.css.d.ts +5 -0
  26. package/dist/VideoPublish/creat-task/task-list.css.js +6 -0
  27. package/dist/VideoPublish/creat-task/task-list.d.ts +9 -0
  28. package/dist/VideoPublish/creat-task/task-list.js +300 -0
  29. package/dist/VideoPublish/index.css.d.ts +5 -0
  30. package/dist/VideoPublish/index.css.js +6 -0
  31. package/dist/VideoPublish/index.d.ts +9 -0
  32. package/dist/VideoPublish/index.js +106 -0
  33. package/dist/VideoPublish/index.less +38 -0
  34. package/dist/VideoPublish/task-list/index.d.ts +7 -0
  35. package/dist/VideoPublish/task-list/index.js +120 -0
  36. package/dist/VideoPublish/task-list/index.less +5 -0
  37. package/dist/VideoPublish/video-account/index.d.ts +7 -0
  38. package/dist/VideoPublish/video-account/index.js +109 -0
  39. package/dist/VideoPublish/video-account/index.less +5 -0
  40. package/dist/asset/image/platform/bilibili.png +0 -0
  41. package/dist/asset/image/platform/douyin.png +0 -0
  42. package/dist/asset/image/platform/douyu.png +0 -0
  43. package/dist/asset/image/platform/huya.png +0 -0
  44. package/dist/asset/image/platform/kuaishou.png +0 -0
  45. package/dist/asset/image/platform/youtube.png +0 -0
  46. package/dist/component/media-kind.d.ts +10 -0
  47. package/dist/component/media-kind.js +24 -0
  48. package/dist/component/media-show.d.ts +13 -0
  49. package/dist/component/media-show.js +84 -0
  50. package/dist/component/media-show.less +53 -0
  51. package/dist/component/video-platform/logo.d.ts +22 -0
  52. package/dist/component/video-platform/logo.js +72 -0
  53. package/dist/component/video-platform/logo.less +42 -0
  54. package/dist/component/videoKindTag/index.d.ts +13 -0
  55. package/dist/component/videoKindTag/index.js +44 -0
  56. package/dist/global.less +4 -0
  57. package/dist/index.d.ts +5 -0
  58. package/dist/index.js +5 -0
  59. package/dist/join-client/index.css.js +1 -1
  60. package/dist/lib/Tool.d.ts +4 -1
  61. package/dist/lib/Tool.js +39 -0
  62. package/dist/lib/component/getImageUrl.d.ts +2 -0
  63. package/dist/lib/component/getImageUrl.js +8 -0
  64. package/dist/lib/component/getSoundUrl.d.ts +2 -0
  65. package/dist/lib/component/getSoundUrl.js +9 -0
  66. package/dist/lib/component/getVideoUrl.d.ts +2 -0
  67. package/dist/lib/component/getVideoUrl.js +9 -0
  68. package/dist/lib/isInClient.js +2 -1
  69. package/dist/lib/request.js +1 -1
  70. package/dist/lib/updateUserInfo.js +1 -0
  71. package/dist/renewal-vip/index.js +2 -1
  72. package/dist/service/api/VideoPublishController.d.ts +11 -0
  73. package/dist/service/api/VideoPublishController.js +85 -0
  74. package/dist/service/api/VideoPublishTaskController.d.ts +8 -0
  75. package/dist/service/api/VideoPublishTaskController.js +29 -0
  76. package/dist/types/VideoPublish.d.ts +112 -0
  77. package/dist/types/VideoPublish.js +0 -0
  78. package/dist/typings.d.ts +3 -0
  79. package/package.json +1 -1
@@ -0,0 +1,454 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
3
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
4
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
+ import React, { useState } from "react";
6
+ import styles from "./index.css";
7
+ import { Button, ConfigProvider, DatePicker, Divider, Form, InputNumber, Radio, Select, Switch, Tag } from "antd";
8
+ import { PlusOutlined, ShoppingOutlined, UsergroupAddOutlined, VideoCameraOutlined } from "@ant-design/icons";
9
+ import PageContentWarp from "../../UI/PageContentWarp";
10
+ import { TreeSelect } from 'antd';
11
+ import isInClient from "../../lib/isInClient";
12
+ import Tool from "../../lib/Tool";
13
+ import VideoPublishTaskList from "./task-list";
14
+ import VideoPublishSelectList from "./select-list";
15
+ import { useRequest } from "@umijs/hooks";
16
+ import * as VideoPublishController from "../../service/api/VideoPublishController";
17
+ import VideoPlatformLogo from "../../component/video-platform/logo";
18
+ import fileSelect from "../../base/fileSelect";
19
+ import { jsx as _jsx } from "react/jsx-runtime";
20
+ import { Fragment as _Fragment } from "react/jsx-runtime";
21
+ import { jsxs as _jsxs } from "react/jsx-runtime";
22
+ var VideoPublishCreateTask = function VideoPublishCreateTask(_ref) {
23
+ var productType = _ref.productType,
24
+ apiUrl = _ref.apiUrl,
25
+ env = _ref.env;
26
+ var _useState = useState({
27
+ videoFrom: productType ? 'task' : 'local',
28
+ accountList: [],
29
+ normalVideoRate: 1,
30
+ normalVideoRateType: 'hour',
31
+ normalDayMaxCount: 1,
32
+ salesVideoRate: 2,
33
+ salesVideoRateType: 'hour',
34
+ salesDayMaxCount: 2,
35
+ videoList: []
36
+ }),
37
+ _useState2 = _slicedToArray(_useState, 2),
38
+ formData = _useState2[0],
39
+ setFormData = _useState2[1];
40
+ var _useState3 = useState(false),
41
+ _useState4 = _slicedToArray(_useState3, 2),
42
+ loadingSelectLocal = _useState4[0],
43
+ setLoadingSelectLocal = _useState4[1];
44
+ var _useState5 = useState([]),
45
+ _useState6 = _slicedToArray(_useState5, 2),
46
+ localSelectList = _useState6[0],
47
+ setLocalSelectList = _useState6[1];
48
+ var _useState7 = useState([]),
49
+ _useState8 = _slicedToArray(_useState7, 2),
50
+ taskSelectList = _useState8[0],
51
+ setTaskSelectList = _useState8[1];
52
+ var _useState9 = useState([]),
53
+ _useState10 = _slicedToArray(_useState9, 2),
54
+ treeVideoAccountData = _useState10[0],
55
+ setTreeVideoAccountData = _useState10[1];
56
+ var _useRequest = useRequest(function () {
57
+ return VideoPublishController.videoAccountList({
58
+ current: 1,
59
+ pageSize: 300 // 服务器 固定死了 300;
60
+ }, {
61
+ env: env
62
+ });
63
+ }, {
64
+ onSuccess: function onSuccess(result) {
65
+ var dict = {};
66
+ result.list.forEach(function (items) {
67
+ if (!dict[items.groupId]) {
68
+ dict[items.groupId] = {
69
+ title: /*#__PURE__*/_jsxs(_Fragment, {
70
+ children: [/*#__PURE__*/_jsx(UsergroupAddOutlined, {
71
+ className: "groupIcon"
72
+ }), " ", items.groupName || '默认分组']
73
+ }),
74
+ value: "group-".concat(items.groupId),
75
+ key: "group-".concat(items.groupId),
76
+ children: []
77
+ };
78
+ }
79
+ dict[items.groupId].children.push({
80
+ title: /*#__PURE__*/_jsxs(_Fragment, {
81
+ children: [/*#__PURE__*/_jsx(VideoPlatformLogo, {
82
+ platform: items.platform,
83
+ size: 14
84
+ }), " ", items.nickname]
85
+ }),
86
+ value: "account-".concat(items.id),
87
+ key: "account-".concat(items.id)
88
+ });
89
+ });
90
+ var treeData = [{
91
+ key: 'all',
92
+ value: 'all',
93
+ title: /*#__PURE__*/_jsx(Tag, {
94
+ color: "blue",
95
+ children: "\u5168\u90E8"
96
+ }),
97
+ children: Object.values(dict)
98
+ }];
99
+ setTreeVideoAccountData(treeData);
100
+ }
101
+ }),
102
+ run = _useRequest.run,
103
+ loading = _useRequest.loading,
104
+ error = _useRequest.error;
105
+ var _useRequest2 = useRequest(function (data) {
106
+ return VideoPublishController.taskCreate(data, {
107
+ env: env
108
+ });
109
+ }, {
110
+ manual: true,
111
+ onSuccess: function onSuccess(result) {
112
+ // 清除
113
+ setLocalSelectList([]);
114
+ setTaskSelectList([]);
115
+ Tool.toast('任务提交成功');
116
+ }
117
+ }),
118
+ runTask = _useRequest2.run,
119
+ loadingTask = _useRequest2.loading,
120
+ errorTask = _useRequest2.error;
121
+ var onTaskList = function onTaskList() {
122
+ var dialog = Tool.drawer({
123
+ title: '任务列表',
124
+ content: /*#__PURE__*/_jsx(VideoPublishTaskList, {
125
+ defaultSelectList: [],
126
+ apiUrl: apiUrl,
127
+ productType: productType,
128
+ onFinish: function onFinish(list) {
129
+ setTaskSelectList(list);
130
+ dialog.destroy();
131
+ }
132
+ }),
133
+ width: 860
134
+ });
135
+ };
136
+ var onLocalList = /*#__PURE__*/function () {
137
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
138
+ var result, fileList, localSelectList;
139
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
140
+ while (1) switch (_context.prev = _context.next) {
141
+ case 0:
142
+ setLoadingSelectLocal(true);
143
+ _context.next = 3;
144
+ return fileSelect('video').catch(function (err) {});
145
+ case 3:
146
+ result = _context.sent;
147
+ if (!(!result || (result === null || result === void 0 ? void 0 : result.filePaths.length) <= 0)) {
148
+ _context.next = 7;
149
+ break;
150
+ }
151
+ setLoadingSelectLocal(false);
152
+ return _context.abrupt("return");
153
+ case 7:
154
+ fileList = result === null || result === void 0 ? void 0 : result.filePaths;
155
+ console.log('list:', fileList);
156
+ localSelectList = [];
157
+ fileList.forEach(function (filePath) {
158
+ localSelectList.push({
159
+ id: 0,
160
+ title: Tool.getTitleByPath(filePath),
161
+ // goodsUrl: '',
162
+ videoSize: 0,
163
+ videoDuration: 0,
164
+ videoFinishUrl: filePath,
165
+ introduction: '',
166
+ videoKindTag: '',
167
+ // shopping | location | minapp
168
+ kindTagValue: ''
169
+ });
170
+ });
171
+ setLocalSelectList(localSelectList);
172
+ setLoadingSelectLocal(false);
173
+ case 13:
174
+ case "end":
175
+ return _context.stop();
176
+ }
177
+ }, _callee);
178
+ }));
179
+ return function onLocalList() {
180
+ return _ref2.apply(this, arguments);
181
+ };
182
+ }();
183
+ var onFinish = function onFinish(values) {
184
+ var videoList = [];
185
+ if (formData.videoFrom === 'local') {
186
+ localSelectList.forEach(function (item) {
187
+ videoList.push({
188
+ taskId: 0,
189
+ productType: productType,
190
+ title: item.title,
191
+ // goodsUrl: item.goodsUrl,
192
+ videoUrl: item.videoFinishUrl,
193
+ introduction: item.introduction,
194
+ videoKindTag: item.videoKindTag,
195
+ // shopping | location | minapp
196
+ kindTagValue: item.kindTagValue
197
+ });
198
+ });
199
+ } else {
200
+ taskSelectList.forEach(function (item) {
201
+ videoList.push({
202
+ taskId: item.id,
203
+ productType: productType,
204
+ title: item.title,
205
+ // goodsUrl: item.goodsUrl,
206
+ videoUrl: item.videoFinishUrl,
207
+ introduction: item.introduction,
208
+ videoKindTag: item.videoKindTag,
209
+ // shopping | location | minapp
210
+ kindTagValue: item.kindTagValue
211
+ });
212
+ });
213
+ }
214
+ var data = _objectSpread(_objectSpread(_objectSpread({}, formData), values), {}, {
215
+ videoList: videoList
216
+ });
217
+ if (videoList.length === 0) {
218
+ Tool.toastError('视频为空,请选择视频');
219
+ return;
220
+ }
221
+ console.log('values:', data);
222
+ runTask(data);
223
+ };
224
+ var formLabelSpan = 3;
225
+ return /*#__PURE__*/_jsx(styles.videoPublishCreateTask, {
226
+ children: /*#__PURE__*/_jsx(PageContentWarp, {
227
+ loading: loading,
228
+ error: error,
229
+ onReload: run,
230
+ children: /*#__PURE__*/_jsxs(Form, {
231
+ labelCol: {
232
+ span: formLabelSpan
233
+ },
234
+ initialValues: _objectSpread({}, formData),
235
+ disabled: loadingTask,
236
+ scrollToFirstError: true,
237
+ onFinish: onFinish,
238
+ children: [/*#__PURE__*/_jsx(Divider, {
239
+ orientation: "left",
240
+ children: "\u9009\u62E9\u89C6\u9891"
241
+ }), /*#__PURE__*/_jsx(Form.Item, {
242
+ label: "\u89C6\u9891\u6765\u6E90",
243
+ name: "videoFrom",
244
+ children: /*#__PURE__*/_jsxs(Radio.Group, {
245
+ onChange: function onChange(e) {
246
+ formData.videoFrom = e.target.value;
247
+ setFormData(_objectSpread({}, formData));
248
+ },
249
+ children: [/*#__PURE__*/_jsx(Radio, {
250
+ value: "local",
251
+ disabled: !isInClient(),
252
+ children: "\u672C\u5730\u7535\u8111\u89C6\u9891"
253
+ }), productType && /*#__PURE__*/_jsx(Radio, {
254
+ value: "task",
255
+ children: "\u4EFB\u52A1\u89C6\u9891"
256
+ })]
257
+ })
258
+ }), formData.videoFrom == 'local' && /*#__PURE__*/_jsxs(Form.Item, {
259
+ wrapperCol: {
260
+ offset: formLabelSpan
261
+ },
262
+ children: [/*#__PURE__*/_jsx(VideoPublishSelectList, {
263
+ from: "local",
264
+ list: localSelectList,
265
+ onList: function onList() {}
266
+ }), /*#__PURE__*/_jsx("div", {
267
+ className: "selectFile",
268
+ children: /*#__PURE__*/_jsx(ConfigProvider, {
269
+ theme: {
270
+ components: {
271
+ Button: {
272
+ colorPrimary: '#2b59a1'
273
+ }
274
+ }
275
+ },
276
+ children: /*#__PURE__*/_jsx(Button, {
277
+ type: "primary",
278
+ size: "small",
279
+ loading: loadingSelectLocal,
280
+ icon: /*#__PURE__*/_jsx(PlusOutlined, {}),
281
+ onClick: function onClick() {
282
+ return onLocalList();
283
+ },
284
+ children: "\u9009\u62E9\u672C\u5730\u89C6\u9891"
285
+ })
286
+ })
287
+ })]
288
+ }), formData.videoFrom == 'task' && /*#__PURE__*/_jsxs(Form.Item, {
289
+ wrapperCol: {
290
+ offset: formLabelSpan
291
+ },
292
+ children: [/*#__PURE__*/_jsx(VideoPublishSelectList, {
293
+ from: "task",
294
+ list: taskSelectList,
295
+ onList: function onList(list) {
296
+ return setTaskSelectList(list);
297
+ }
298
+ }), /*#__PURE__*/_jsx("div", {
299
+ className: "selectFile",
300
+ children: /*#__PURE__*/_jsx(Button, {
301
+ type: "primary",
302
+ size: "small",
303
+ icon: /*#__PURE__*/_jsx(PlusOutlined, {}),
304
+ onClick: function onClick() {
305
+ return onTaskList();
306
+ },
307
+ children: "\u9009\u62E9\u4EFB\u52A1"
308
+ })
309
+ })]
310
+ }), /*#__PURE__*/_jsx(Divider, {
311
+ orientation: "left",
312
+ children: "\u9009\u62E9\u8D26\u6237"
313
+ }), /*#__PURE__*/_jsx(Form.Item, {
314
+ label: "\u8D26\u53F7",
315
+ extra: "\u6BCF\u4E2A\u89C6\u9891\u53EA\u53D1\u4E00\u4E2A\u8D26\u6237",
316
+ name: "accountList",
317
+ rules: [{
318
+ required: true,
319
+ message: '请选择账户'
320
+ }],
321
+ children: /*#__PURE__*/_jsx(TreeSelect, {
322
+ treeData: treeVideoAccountData
323
+ // value={ [] }
324
+ ,
325
+ onChange: function onChange(idList) {
326
+ console.log('TreeSelect:', idList);
327
+ },
328
+ treeCheckable: true,
329
+ showCheckedStrategy: TreeSelect.SHOW_PARENT,
330
+ placeholder: "\u8BF7\u9009\u62E9 \u8D26\u6237/\u7EC4"
331
+ })
332
+ }), /*#__PURE__*/_jsxs(Divider, {
333
+ orientation: "left",
334
+ children: [/*#__PURE__*/_jsx(VideoCameraOutlined, {
335
+ className: "normalVideo"
336
+ }), " \u666E\u901A\u89C6\u9891"]
337
+ }), /*#__PURE__*/_jsx(Form.Item, {
338
+ label: "\u53D1\u5E03\u9891\u7387",
339
+ name: "normalVideoRate",
340
+ children: /*#__PURE__*/_jsx(InputNumber, {
341
+ precision: 0,
342
+ min: 0,
343
+ max: 100,
344
+ addonBefore: /*#__PURE__*/_jsxs(Select, {
345
+ className: "rateSelect",
346
+ value: formData.normalVideoRateType,
347
+ onChange: function onChange(e) {
348
+ formData.normalVideoRateType = e;
349
+ setFormData(_objectSpread({}, formData));
350
+ },
351
+ children: [/*#__PURE__*/_jsx(Select.Option, {
352
+ value: "hour",
353
+ children: "\u6BCF\u5C0F\u65F6\u53D1\u5E03"
354
+ }), /*#__PURE__*/_jsx(Select.Option, {
355
+ value: "day",
356
+ children: "\u6BCF\u5929\u53D1\u5E03"
357
+ })]
358
+ }),
359
+ addonAfter: "\u6761\u89C6\u9891"
360
+ })
361
+ }), /*#__PURE__*/_jsx(Form.Item, {
362
+ label: "\u6570\u91CF\u9650\u5236",
363
+ name: "normalDayMaxCount",
364
+ children: /*#__PURE__*/_jsx(InputNumber, {
365
+ precision: 0,
366
+ min: 1,
367
+ max: 500,
368
+ addonBefore: "\u6BCF\u5929\u6700\u591A\u53D1\u5E03",
369
+ addonAfter: "\u6761\u89C6\u9891"
370
+ })
371
+ }), /*#__PURE__*/_jsxs(Divider, {
372
+ orientation: "left",
373
+ children: [/*#__PURE__*/_jsx(ShoppingOutlined, {
374
+ className: "shoppingCart"
375
+ }), " \u5E26\u8D27\u89C6\u9891"]
376
+ }), /*#__PURE__*/_jsx(Form.Item, {
377
+ label: "\u53D1\u5E03\u9891\u7387",
378
+ name: "salesVideoRate",
379
+ children: /*#__PURE__*/_jsx(InputNumber, {
380
+ precision: 0,
381
+ min: 1,
382
+ max: 200,
383
+ addonBefore: /*#__PURE__*/_jsxs(Select, {
384
+ className: "rateSelect",
385
+ value: formData.salesVideoRateType,
386
+ onChange: function onChange(e) {
387
+ formData.salesVideoRateType = e;
388
+ setFormData(_objectSpread({}, formData));
389
+ },
390
+ children: [/*#__PURE__*/_jsx(Select.Option, {
391
+ value: "hour",
392
+ children: "\u6BCF\u5C0F\u65F6\u53D1\u5E03"
393
+ }), /*#__PURE__*/_jsx(Select.Option, {
394
+ value: "day",
395
+ children: "\u6BCF\u5929\u53D1\u5E03"
396
+ })]
397
+ }),
398
+ addonAfter: "\u6761\u89C6\u9891"
399
+ })
400
+ }), /*#__PURE__*/_jsx(Form.Item, {
401
+ label: "\u6570\u91CF\u9650\u5236",
402
+ name: "salesDayMaxCount",
403
+ children: /*#__PURE__*/_jsx(InputNumber, {
404
+ precision: 0,
405
+ min: 1,
406
+ max: 200,
407
+ addonBefore: "\u6BCF\u5929\u6700\u591A\u53D1\u5E03",
408
+ addonAfter: "\u6761\u89C6\u9891"
409
+ })
410
+ }), /*#__PURE__*/_jsx(Divider, {
411
+ orientation: "left",
412
+ children: "\u5176\u4ED6\u8BBE\u7F6E"
413
+ }), /*#__PURE__*/_jsx(Form.Item, {
414
+ label: "\u5F00\u59CB\u65F6\u95F4",
415
+ name: "startTime",
416
+ children: /*#__PURE__*/_jsx(DatePicker, {
417
+ showTime: true,
418
+ disabledDate: function disabledDate(e) {
419
+ return e.valueOf() + 86400e3 < Date.now();
420
+ },
421
+ onChange: function onChange(value, dateString) {
422
+ console.log('Selected Time: ', value);
423
+ console.log('Formatted Selected Time: ', dateString);
424
+ }
425
+ // onOk={onOk}
426
+ })
427
+ }), /*#__PURE__*/_jsx(Form.Item, {
428
+ label: "\u53D1\u5E03\u5B8C\u6210\u540E",
429
+ children: /*#__PURE__*/_jsx(ConfigProvider, {
430
+ theme: {
431
+ token: {
432
+ colorPrimary: '#F60',
433
+ colorTextQuaternary: '#1677ff'
434
+ }
435
+ },
436
+ children: /*#__PURE__*/_jsx(Switch, {
437
+ unCheckedChildren: "\u4FDD\u7559\u89C6\u9891",
438
+ checkedChildren: "\u5220\u9664\u89C6\u9891"
439
+ })
440
+ })
441
+ }), /*#__PURE__*/_jsx(Divider, {}), /*#__PURE__*/_jsx("div", {
442
+ className: "submits",
443
+ children: /*#__PURE__*/_jsx(Button, {
444
+ type: "primary",
445
+ htmlType: "submit",
446
+ loading: loadingTask,
447
+ children: "\u63D0\u4EA4"
448
+ })
449
+ })]
450
+ })
451
+ })
452
+ });
453
+ };
454
+ export default VideoPublishCreateTask;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ videoPublishTaskSelectList: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ videoPublishTaskSelectList: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\n .title{\n width: 120px;\n overflow: hidden;\n word-break: keep-all;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .remark{\n max-width: 200px;\n }\n .remarkInput{\n label.content{\n position: relative;\n display: inline-block;\n overflow: hidden;\n word-break: keep-all;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: 200px;\n }\n }\n .videoKindTag{\n width: 120px;\n }\n "])))
6
+ };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface Props {
3
+ from: 'local' | 'task';
4
+ list: VideoPublish.VideoSelectList[];
5
+ onList: (list: VideoPublish.VideoSelectList[]) => void;
6
+ }
7
+ declare const VideoPublishSelectList: React.FC<Props>;
8
+ export default VideoPublishSelectList;