component-shipinlv 0.1.9 → 0.1.10
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.
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const _default: {
|
3
|
+
div: 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
|
+
div: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n :global{\n .clientStatus{\n .loading{\n opacity: 0.7;\n }\n\n .downloading{\n margin-left: 12px;\n }\n\n .working{\n color: green;\n }\n }\n "])))
|
6
|
+
};
|
@@ -4,10 +4,10 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
4
4
|
import React, { useEffect, useRef, useState } from 'react';
|
5
5
|
import * as SubClientController from "../service/api/SubClientController";
|
6
6
|
import { useRequest } from '@umijs/hooks';
|
7
|
-
import "./index.less";
|
8
7
|
import { CheckCircleFilled, ExclamationCircleFilled, LoadingOutlined, QuestionCircleOutlined, RedoOutlined } from "@ant-design/icons";
|
9
8
|
import { Button, Divider, Tooltip } from "antd";
|
10
9
|
import Tool from "../lib/Tool";
|
10
|
+
import styles from "./index.css";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
13
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -197,14 +197,16 @@ var JoinClient = function JoinClient(_ref) {
|
|
197
197
|
useEffect(function () {
|
198
198
|
onRunStatus(runStatus);
|
199
199
|
}, [runStatus]);
|
200
|
-
return /*#__PURE__*/
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
200
|
+
return /*#__PURE__*/_jsx(styles.div, {
|
201
|
+
children: /*#__PURE__*/_jsxs("div", {
|
202
|
+
className: "clientStatus",
|
203
|
+
children: [$status(), /*#__PURE__*/_jsx(Divider, {
|
204
|
+
type: "vertical"
|
205
|
+
}), /*#__PURE__*/_jsxs(Tooltip, {
|
206
|
+
title: "\u672C\u9875\u9762\u529F\u80FD\u9700\u8981\u4F60\u7684\u7535\u8111\u4E0A\u5B89\u88C5\u4E13\u7528\u5BA2\u6237\u7AEF\u8F6F\u4EF6",
|
207
|
+
children: [" ", /*#__PURE__*/_jsx(QuestionCircleOutlined, {})]
|
208
|
+
})]
|
209
|
+
})
|
208
210
|
});
|
209
211
|
};
|
210
212
|
export default JoinClient;
|
package/package.json
CHANGED
package/dist/global.less
DELETED
File without changes
|