@chlp-tech/rpa-ui 0.0.1 → 0.0.3
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/dist/drawer-task/index.d.ts +3 -0
- package/dist/drawer-task/index.js +2 -0
- package/dist/drawer-task/index.module.less +2 -1
- package/dist/release-video-card/index.d.ts +1 -0
- package/dist/release-video-card/index.js +4 -2
- package/dist/release-video-card/index.module.less +12 -0
- package/dist/video-list/index.js +1 -1
- package/package.json +14 -16
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { DrawerClassNames } from "antd/es/drawer/DrawerPanel";
|
|
2
3
|
interface DrawerTaskProps {
|
|
3
4
|
children: React.ReactNode;
|
|
4
5
|
title: string;
|
|
5
6
|
open?: boolean;
|
|
6
7
|
defaultTab?: string;
|
|
7
8
|
back?: boolean | React.ReactNode;
|
|
9
|
+
classNames?: DrawerClassNames;
|
|
10
|
+
rootClassNames?: string;
|
|
8
11
|
menu: {
|
|
9
12
|
items: {
|
|
10
13
|
label: string;
|
|
@@ -6,7 +6,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React, { useState } from "react";
|
|
8
8
|
import { Spin, Space, Image, Dropdown, Popover } from "antd";
|
|
9
|
-
import { MediaPlay, TextEllipsis } from "
|
|
9
|
+
import { MediaPlay, TextEllipsis } from "../index";
|
|
10
10
|
import FB from "./imgs/fb.svg";
|
|
11
11
|
import INS from "./imgs/ins.svg";
|
|
12
12
|
import TK from "./imgs/tk.svg";
|
|
@@ -172,7 +172,9 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
172
172
|
className: styles['card__header__status']
|
|
173
173
|
}, /*#__PURE__*/React.createElement("div", {
|
|
174
174
|
className: styles['card__header__status__flex']
|
|
175
|
-
}, /*#__PURE__*/React.createElement(
|
|
175
|
+
}, props.isAd && /*#__PURE__*/React.createElement("div", {
|
|
176
|
+
className: styles.tagAd
|
|
177
|
+
}, "\u5E7F\u544A"), /*#__PURE__*/React.createElement(StatusTag, {
|
|
176
178
|
status: props.status
|
|
177
179
|
}), /*#__PURE__*/React.createElement("div", {
|
|
178
180
|
className: styles['card__header__status__desc']
|
|
@@ -214,6 +214,18 @@
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
+
.tagAd {
|
|
218
|
+
background: #FBDEC1;
|
|
219
|
+
border-radius: 4px;
|
|
220
|
+
font-size: 14px;
|
|
221
|
+
color: #8B3D15;
|
|
222
|
+
padding: 2px 8px;
|
|
223
|
+
display: flex;
|
|
224
|
+
flex-direction: row;
|
|
225
|
+
align-items: center;
|
|
226
|
+
justify-content: center;
|
|
227
|
+
}
|
|
228
|
+
|
|
217
229
|
.circle_block {
|
|
218
230
|
padding: 2px 8px;
|
|
219
231
|
background: rgba(0,0,0,0.5);
|
package/dist/video-list/index.js
CHANGED
|
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import React, { useImperativeHandle, useState, forwardRef, useEffect, useRef } from "react";
|
|
14
14
|
import { Row, Col, Checkbox, Popover, Empty, Tooltip } from "antd";
|
|
15
|
-
import { MediaPlay } from "
|
|
15
|
+
import { MediaPlay } from "../index";
|
|
16
16
|
import DeleteSvg from "./delete.svg";
|
|
17
17
|
import styles from "./index.module.less";
|
|
18
18
|
var VideoList = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
package/package.json
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chlp-tech/rpa-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "rpa-ui",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"start": "npm run dev",
|
|
9
|
-
"dev": "dumi dev",
|
|
10
|
-
"build": "father build",
|
|
11
|
-
"build:watch": "father dev",
|
|
12
|
-
"docs:build": "dumi build",
|
|
13
|
-
"docs:preview": "dumi preview",
|
|
14
|
-
"prepare": "husky install && dumi setup",
|
|
15
|
-
"doctor": "father doctor",
|
|
16
|
-
"lint": "npm run lint:es && npm run lint:css",
|
|
17
|
-
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
18
|
-
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
19
|
-
"prepublishOnly": "father doctor && npm run build"
|
|
20
|
-
},
|
|
21
7
|
"authors": [],
|
|
22
8
|
"license": "MIT",
|
|
23
9
|
"files": [
|
|
@@ -79,5 +65,17 @@
|
|
|
79
65
|
"dayjs": "^1.11.13",
|
|
80
66
|
"js-md5": "^0.8.3",
|
|
81
67
|
"styled-components": "^6.1.12"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"start": "npm run dev",
|
|
71
|
+
"dev": "dumi dev",
|
|
72
|
+
"build": "father build",
|
|
73
|
+
"build:watch": "father dev",
|
|
74
|
+
"docs:build": "dumi build",
|
|
75
|
+
"docs:preview": "dumi preview",
|
|
76
|
+
"doctor": "father doctor",
|
|
77
|
+
"lint": "npm run lint:es && npm run lint:css",
|
|
78
|
+
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
79
|
+
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\""
|
|
82
80
|
}
|
|
83
|
-
}
|
|
81
|
+
}
|