@lemon-fe/components 0.1.1 → 0.1.5
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/es/BaseTable/empty.png +0 -0
- package/es/BaseTable/index.d.ts +1 -0
- package/es/BaseTable/index.js +10 -1
- package/es/BaseTable/index.less +11 -0
- package/es/DurationPicker/index.js +11 -3
- package/es/FormLayout/index.less +1 -0
- package/es/Icons/BigTip/error.png +0 -0
- package/es/Icons/BigTip/index.d.ts +6 -0
- package/es/Icons/BigTip/index.js +50 -0
- package/es/Icons/BigTip/info.png +0 -0
- package/es/Icons/BigTip/success.png +0 -0
- package/es/Icons/BigTip/warning.png +0 -0
- package/es/Icons/More.js +1 -1
- package/es/Icons/index.d.ts +2 -0
- package/es/Icons/index.js +3 -1
- package/es/Layout/index.less +8 -21
- package/es/MainFramework/components/Menu/index.js +1 -1
- package/es/SiderTree/empty.png +0 -0
- package/es/SiderTree/index.js +7 -4
- package/es/SiderTree/index.less +20 -0
- package/es/init.js +11 -19
- package/es/overrides.less +3 -8
- package/package.json +4 -4
|
Binary file
|
package/es/BaseTable/index.d.ts
CHANGED
package/es/BaseTable/index.js
CHANGED
|
@@ -33,6 +33,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
33
33
|
|
|
34
34
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
35
35
|
|
|
36
|
+
/// <reference path="../../typings.d.ts" />
|
|
36
37
|
import React, { useMemo, useState, useEffect, useRef } from 'react';
|
|
37
38
|
import { Table as AntdTable } from 'antd';
|
|
38
39
|
import { get } from 'lodash';
|
|
@@ -43,6 +44,7 @@ import { PREFIX_CLS } from '../constants';
|
|
|
43
44
|
import VirtualList from './VirtualBody';
|
|
44
45
|
import BaseTableContext from './BaseTableContext';
|
|
45
46
|
import Actions from './Actions';
|
|
47
|
+
import empty from './empty.png';
|
|
46
48
|
|
|
47
49
|
function formatSummary(summary) {
|
|
48
50
|
if (!summary) {
|
|
@@ -396,7 +398,14 @@ function BaseTable(props) {
|
|
|
396
398
|
},
|
|
397
399
|
components: components,
|
|
398
400
|
onChange: handleChange,
|
|
399
|
-
tableLayout: tableLayout
|
|
401
|
+
tableLayout: tableLayout,
|
|
402
|
+
locale: {
|
|
403
|
+
emptyText: /*#__PURE__*/React.createElement("div", {
|
|
404
|
+
className: "".concat(PREFIX_CLS, "-table-empty")
|
|
405
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
406
|
+
src: empty
|
|
407
|
+
}), /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E"))
|
|
408
|
+
}
|
|
400
409
|
}, restProps), {}, {
|
|
401
410
|
pagination: paginationProp !== false ? _objectSpread({
|
|
402
411
|
size: 'small',
|
package/es/BaseTable/index.less
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["prefixCls", "types", "options", "value", "dateFormat", "onChange"];
|
|
2
|
+
|
|
1
3
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
4
|
|
|
3
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -16,6 +18,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
16
18
|
|
|
17
19
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
20
|
|
|
21
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
22
|
+
|
|
23
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
24
|
+
|
|
19
25
|
import React, { useMemo, useState, useEffect } from 'react';
|
|
20
26
|
import { DatePicker, Dropdown, Menu } from 'antd';
|
|
21
27
|
import moment from 'moment';
|
|
@@ -106,7 +112,9 @@ export default function DurationPicker(props) {
|
|
|
106
112
|
valueProp = props.value,
|
|
107
113
|
_props$dateFormat = props.dateFormat,
|
|
108
114
|
dateFormat = _props$dateFormat === void 0 ? 'YYYY-MM-DD' : _props$dateFormat,
|
|
109
|
-
onChange = props.onChange
|
|
115
|
+
onChange = props.onChange,
|
|
116
|
+
restProps = _objectWithoutProperties(props, _excluded);
|
|
117
|
+
|
|
110
118
|
var defaultValue = useMemo(function () {
|
|
111
119
|
if (valueProp === undefined) {
|
|
112
120
|
var _options$0$value, _options$;
|
|
@@ -218,9 +226,9 @@ export default function DurationPicker(props) {
|
|
|
218
226
|
}))
|
|
219
227
|
}, /*#__PURE__*/React.createElement("div", {
|
|
220
228
|
className: "".concat(prefixCls, "-duration-option")
|
|
221
|
-
}, (_result$option = result.option) === null || _result$option === void 0 ? void 0 : _result$option.label, /*#__PURE__*/React.createElement(Down, null))), /*#__PURE__*/React.createElement(DatePicker.RangePicker, {
|
|
229
|
+
}, (_result$option = result.option) === null || _result$option === void 0 ? void 0 : _result$option.label, /*#__PURE__*/React.createElement(Down, null))), /*#__PURE__*/React.createElement(DatePicker.RangePicker, _objectSpread({
|
|
222
230
|
value: result.dates,
|
|
223
231
|
onChange: handleChangeDates,
|
|
224
232
|
disabled: ((_result$option2 = result.option) === null || _result$option2 === void 0 ? void 0 : _result$option2.value) !== null
|
|
225
|
-
})));
|
|
233
|
+
}, restProps))));
|
|
226
234
|
}
|
package/es/FormLayout/index.less
CHANGED
|
Binary file
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var _excluded = ["type"];
|
|
2
|
+
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
|
|
7
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
|
+
|
|
13
|
+
import React from 'react';
|
|
14
|
+
import success from './success.png';
|
|
15
|
+
import error from './error.png';
|
|
16
|
+
import info from './info.png';
|
|
17
|
+
import warning from './warning.png';
|
|
18
|
+
export default function BigTip(props) {
|
|
19
|
+
var _props$type = props.type,
|
|
20
|
+
type = _props$type === void 0 ? 'success' : _props$type,
|
|
21
|
+
restProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
|
|
23
|
+
var src;
|
|
24
|
+
|
|
25
|
+
switch (type) {
|
|
26
|
+
case 'warning':
|
|
27
|
+
src = warning;
|
|
28
|
+
break;
|
|
29
|
+
|
|
30
|
+
case 'error':
|
|
31
|
+
src = error;
|
|
32
|
+
break;
|
|
33
|
+
|
|
34
|
+
case 'info':
|
|
35
|
+
src = info;
|
|
36
|
+
break;
|
|
37
|
+
|
|
38
|
+
case 'success':
|
|
39
|
+
default:
|
|
40
|
+
src = success;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return /*#__PURE__*/React.createElement("img", _objectSpread({
|
|
44
|
+
src: src,
|
|
45
|
+
style: {
|
|
46
|
+
width: 48,
|
|
47
|
+
height: 48
|
|
48
|
+
}
|
|
49
|
+
}, restProps));
|
|
50
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/es/Icons/More.js
CHANGED
|
@@ -15,7 +15,7 @@ var MoreSvg = function MoreSvg(props) {
|
|
|
15
15
|
xmlns: "http://www.w3.org/2000/svg"
|
|
16
16
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
17
17
|
fill: "currentColor",
|
|
18
|
-
|
|
18
|
+
fillRule: "evenodd"
|
|
19
19
|
}, /*#__PURE__*/React.createElement("circle", {
|
|
20
20
|
opacity: ".7",
|
|
21
21
|
cx: "15",
|
package/es/Icons/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import Tip from './Tip';
|
|
|
4
4
|
import DarkSearch from './DarkSearch';
|
|
5
5
|
import More from './More';
|
|
6
6
|
import Calendar from './Calendar';
|
|
7
|
+
import BigTip from './BigTip';
|
|
7
8
|
declare const Icons: {
|
|
8
9
|
Search: typeof Search;
|
|
9
10
|
Down: typeof Down;
|
|
@@ -12,5 +13,6 @@ declare const Icons: {
|
|
|
12
13
|
DarkSearch: typeof DarkSearch;
|
|
13
14
|
More: typeof More;
|
|
14
15
|
Calendar: typeof Calendar;
|
|
16
|
+
BigTip: typeof BigTip;
|
|
15
17
|
};
|
|
16
18
|
export default Icons;
|
package/es/Icons/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import Empty from './Empty';
|
|
|
5
5
|
import DarkSearch from './DarkSearch';
|
|
6
6
|
import More from './More';
|
|
7
7
|
import Calendar from './Calendar';
|
|
8
|
+
import BigTip from './BigTip';
|
|
8
9
|
var Icons = {
|
|
9
10
|
Search: Search,
|
|
10
11
|
Down: Down,
|
|
@@ -12,6 +13,7 @@ var Icons = {
|
|
|
12
13
|
Empty: Empty,
|
|
13
14
|
DarkSearch: DarkSearch,
|
|
14
15
|
More: More,
|
|
15
|
-
Calendar: Calendar
|
|
16
|
+
Calendar: Calendar,
|
|
17
|
+
BigTip: BigTip
|
|
16
18
|
};
|
|
17
19
|
export default Icons;
|
package/es/Layout/index.less
CHANGED
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
|
|
5
|
+
height: 100%;
|
|
6
6
|
padding: 0 @space;
|
|
7
7
|
background: #f2f2f2;
|
|
8
8
|
|
|
9
9
|
&-header {
|
|
10
10
|
padding: @space 0;
|
|
11
|
+
background-color: #f2f2f2;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
&-content {
|
|
14
15
|
display: flex;
|
|
15
16
|
flex: 1;
|
|
17
|
+
min-height: 0;
|
|
18
|
+
overflow: hidden;
|
|
16
19
|
background-color: #fff;
|
|
17
|
-
background-clip: content-box;
|
|
18
20
|
border-top-left-radius: 8px;
|
|
19
21
|
border-top-right-radius: 8px;
|
|
20
22
|
|
|
@@ -87,19 +89,18 @@
|
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
&-main {
|
|
92
|
+
display: flex;
|
|
90
93
|
flex: 1;
|
|
94
|
+
flex-direction: column;
|
|
91
95
|
min-width: 0;
|
|
96
|
+
overflow: auto;
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
&-footer {
|
|
95
|
-
position: sticky;
|
|
96
|
-
bottom: 0;
|
|
97
|
-
z-index: 10;
|
|
98
100
|
display: flex;
|
|
99
101
|
align-items: center;
|
|
100
|
-
justify-content:
|
|
102
|
+
justify-content: center;
|
|
101
103
|
box-sizing: border-box;
|
|
102
|
-
width: 100%;
|
|
103
104
|
height: 65px;
|
|
104
105
|
padding: @space;
|
|
105
106
|
background: #fff;
|
|
@@ -118,17 +119,3 @@
|
|
|
118
119
|
background-color: rgba(255, 255, 255, 0.5);
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
|
-
|
|
122
|
-
.@{prefixCls}-layout.@{prefixCls}-layout-full {
|
|
123
|
-
height: 100%;
|
|
124
|
-
min-height: 0;
|
|
125
|
-
|
|
126
|
-
.@{prefixCls}-layout-content {
|
|
127
|
-
min-height: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.@{prefixCls}-layout-main {
|
|
131
|
-
display: flex;
|
|
132
|
-
flex-direction: column;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
@@ -228,7 +228,7 @@ export default function Menu(props) {
|
|
|
228
228
|
var activeMenu = useMemo(function () {
|
|
229
229
|
var check = function check(path) {
|
|
230
230
|
if (path) {
|
|
231
|
-
return new RegExp("".concat(path, "(?![^\\/])")).test(location.pathname);
|
|
231
|
+
return new RegExp("".concat(path.split('?')[0], "(?![^\\/])")).test(location.pathname);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
return false;
|
|
Binary file
|
package/es/SiderTree/index.js
CHANGED
|
@@ -34,12 +34,13 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
34
34
|
import React, { useMemo, useState } from 'react';
|
|
35
35
|
import { useDebounce } from '@lemon-fe/hooks';
|
|
36
36
|
import Tree from 'rc-tree';
|
|
37
|
-
import {
|
|
37
|
+
import { Input, Tabs } from 'antd';
|
|
38
38
|
import { PREFIX_CLS } from '../constants';
|
|
39
39
|
import TreeNodeTitle from './TreeNodeTitle';
|
|
40
40
|
import Icons from '../Icons';
|
|
41
41
|
import TabBar from '../TabBar';
|
|
42
42
|
import { mapChildren } from '../utils';
|
|
43
|
+
import empty from './empty.png';
|
|
43
44
|
|
|
44
45
|
function SiderTreeTabs(props) {
|
|
45
46
|
var tabs = props.tabs,
|
|
@@ -156,9 +157,11 @@ export default function SiderTree(props) {
|
|
|
156
157
|
className: "".concat(prefixCls, "-header")
|
|
157
158
|
}, mHeader), /*#__PURE__*/React.createElement("div", {
|
|
158
159
|
className: "".concat(prefixCls, "-body")
|
|
159
|
-
}, tree.length <= 0 ? /*#__PURE__*/React.createElement(
|
|
160
|
-
|
|
161
|
-
}
|
|
160
|
+
}, tree.length <= 0 ? /*#__PURE__*/React.createElement("div", {
|
|
161
|
+
className: "".concat(prefixCls, "-empty")
|
|
162
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
163
|
+
src: empty
|
|
164
|
+
}), /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E")) : /*#__PURE__*/React.createElement(Tree, _objectSpread({
|
|
162
165
|
treeData: tree,
|
|
163
166
|
prefixCls: prefixCls,
|
|
164
167
|
itemHeight: 40,
|
package/es/SiderTree/index.less
CHANGED
|
@@ -160,6 +160,26 @@
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
+
|
|
164
|
+
&-empty {
|
|
165
|
+
width: 72px;
|
|
166
|
+
margin: 0 auto;
|
|
167
|
+
padding-top: 75px;
|
|
168
|
+
text-align: center;
|
|
169
|
+
|
|
170
|
+
img {
|
|
171
|
+
display: block;
|
|
172
|
+
width: 72px;
|
|
173
|
+
height: 72px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
div {
|
|
177
|
+
margin-top: 8px;
|
|
178
|
+
color: rgba(51, 51, 51, 0.5);
|
|
179
|
+
font-size: 14px;
|
|
180
|
+
line-height: 22px;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
163
183
|
}
|
|
164
184
|
|
|
165
185
|
.@{prefixCls}-layout-left .@{prefixCls}-tree-wrapper:first-child .@{prefixCls}-tree-header {
|
package/es/init.js
CHANGED
|
@@ -7,13 +7,13 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
7
7
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import { message, Modal,
|
|
10
|
+
import { message, Modal, Select, ConfigProvider, Result, Button, version, DatePicker } from 'antd';
|
|
11
11
|
import { config } from '@lemon-fe/hooks';
|
|
12
12
|
import PageLoading from './PageLoading';
|
|
13
13
|
import Icons from './Icons';
|
|
14
14
|
var Tip = Icons.Tip,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
Down = Icons.Down,
|
|
16
|
+
BigTip = Icons.BigTip;
|
|
17
17
|
export default function init() {
|
|
18
18
|
var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
19
19
|
|
|
@@ -62,12 +62,10 @@ export default function init() {
|
|
|
62
62
|
|
|
63
63
|
Modal[item] = function () {
|
|
64
64
|
return modalAPI(_objectSpread({
|
|
65
|
-
icon: /*#__PURE__*/React.createElement(
|
|
66
|
-
type: item
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
})
|
|
65
|
+
icon: /*#__PURE__*/React.createElement(BigTip, {
|
|
66
|
+
type: item
|
|
67
|
+
}),
|
|
68
|
+
title: '提示'
|
|
71
69
|
}, arguments.length <= 0 ? undefined : arguments[0]));
|
|
72
70
|
};
|
|
73
71
|
});
|
|
@@ -75,12 +73,10 @@ export default function init() {
|
|
|
75
73
|
|
|
76
74
|
Modal.confirm = function () {
|
|
77
75
|
return modalConfirm(_objectSpread({
|
|
78
|
-
icon: /*#__PURE__*/React.createElement(
|
|
79
|
-
type: "
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
})
|
|
76
|
+
icon: /*#__PURE__*/React.createElement(BigTip, {
|
|
77
|
+
type: "info"
|
|
78
|
+
}),
|
|
79
|
+
title: '提示'
|
|
84
80
|
}, arguments.length <= 0 ? undefined : arguments[0]));
|
|
85
81
|
};
|
|
86
82
|
|
|
@@ -91,10 +87,6 @@ export default function init() {
|
|
|
91
87
|
return node;
|
|
92
88
|
}
|
|
93
89
|
};
|
|
94
|
-
Empty.PRESENTED_IMAGE_DEFAULT = /*#__PURE__*/React.createElement(EmptyIcon, null);
|
|
95
|
-
Empty.defaultProps = {
|
|
96
|
-
image: Empty.PRESENTED_IMAGE_DEFAULT
|
|
97
|
-
};
|
|
98
90
|
DatePicker.RangePicker.defaultProps = {
|
|
99
91
|
suffixIcon: /*#__PURE__*/React.createElement(Icons.Calendar, null)
|
|
100
92
|
};
|
package/es/overrides.less
CHANGED
|
@@ -38,15 +38,10 @@ a[title='站长统计'] {
|
|
|
38
38
|
padding: 40px 48px;
|
|
39
39
|
overflow: hidden;
|
|
40
40
|
|
|
41
|
-
& >
|
|
41
|
+
& > img:first-child {
|
|
42
42
|
position: absolute;
|
|
43
43
|
top: 40px;
|
|
44
44
|
left: 48px;
|
|
45
|
-
padding: 2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
& > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {
|
|
49
|
-
margin-left: 36px;
|
|
50
45
|
}
|
|
51
46
|
}
|
|
52
47
|
|
|
@@ -66,14 +61,14 @@ a[title='站长统计'] {
|
|
|
66
61
|
|
|
67
62
|
.ant-modal-confirm-title {
|
|
68
63
|
float: none;
|
|
69
|
-
margin-left:
|
|
64
|
+
margin-left: 56px;
|
|
70
65
|
font-weight: 600;
|
|
71
66
|
line-height: 24px;
|
|
72
67
|
}
|
|
73
68
|
|
|
74
69
|
.ant-modal-confirm-content {
|
|
75
70
|
float: none;
|
|
76
|
-
margin: 2px 0 0
|
|
71
|
+
margin: 2px 0 0 56px;
|
|
77
72
|
color: rgba(51, 51, 51, 0.5);
|
|
78
73
|
line-height: 22px;
|
|
79
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "鲁盛杰 <lusj@cnlemon.net>",
|
|
6
6
|
"homepage": "",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"registry": "https://registry.npmjs.org"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@lemon-fe/hooks": "^0.
|
|
20
|
-
"antd": "^4.
|
|
19
|
+
"@lemon-fe/hooks": "^0.1.2",
|
|
20
|
+
"antd": "^4.20.2",
|
|
21
21
|
"classnames": "^2.2.6",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"react": "^17.0.2",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@types/lodash": "^4.14.179",
|
|
40
40
|
"@types/react-resizable": "^1.7.4"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "03156b8418da16a062304610592219d40df9e313"
|
|
43
43
|
}
|