linkmore-design 1.1.10 → 1.1.12
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/Button/demos/type.d.ts +2 -0
- package/dist/Cascader/demos/formItem.d.ts +2 -0
- package/dist/CustomTableOption/index.d.ts +1 -0
- package/dist/CustomTableOption/locale/en_US.d.ts +19 -0
- package/dist/CustomTableOption/locale/zh_CN.d.ts +19 -0
- package/dist/LmEditTable/demos/priceTable.d.ts +2 -0
- package/dist/LmEditTable/util.d.ts +1 -0
- package/dist/LmFilter/demos/filterControl.d.ts +2 -0
- package/dist/Locale/default.d.ts +4 -1
- package/dist/Locale/zh_CN.d.ts +4 -1
- package/dist/Modal/demos/locale.d.ts +2 -0
- package/dist/Modal/locale.d.ts +7 -0
- package/dist/Select/demos/formItem.d.ts +2 -0
- package/dist/Select/index.d.ts +1 -0
- package/dist/TreeSelect/demos/formItem.d.ts +2 -0
- package/dist/TreeSelect/index.d.ts +8 -3
- package/dist/base.css +1 -0
- package/dist/index.umd.js +394 -206
- package/dist/index.umd.min.js +6 -6
- package/dist/variables.css +45 -12
- package/es/Affix/style/index.css +1 -0
- package/es/Alert/style/index.css +1 -0
- package/es/Approval/style/index.css +1 -0
- package/es/AutoComplete/style/index.css +1 -0
- package/es/Avatar/style/index.css +1 -0
- package/es/Badge/style/index.css +1 -0
- package/es/Breadcrumb/style/index.css +1 -0
- package/es/Button/style/index.css +4 -1
- package/es/Button/style/variables.css +4 -1
- package/es/ButtonTags/style/index.css +1 -0
- package/es/Calendar/style/index.css +1 -0
- package/es/Card/style/index.css +1 -0
- package/es/CardTable/style/index.css +7 -9
- package/es/CardTable/style/variables.css +7 -9
- package/es/Carousel/style/index.css +1 -0
- package/es/Cascader/style/index.css +1 -0
- package/es/Col/style/index.css +1 -0
- package/es/Collapse/style/index.css +1 -0
- package/es/Comment/style/index.css +1 -0
- package/es/CustomTableOption/cardSort.js +21 -16
- package/es/CustomTableOption/columnsSort.js +16 -16
- package/es/CustomTableOption/filterSort.js +11 -11
- package/es/CustomTableOption/index.d.ts +1 -0
- package/es/CustomTableOption/index.js +45 -17
- package/es/CustomTableOption/locale/en_US.d.ts +19 -0
- package/es/CustomTableOption/locale/en_US.js +19 -0
- package/es/CustomTableOption/locale/zh_CN.d.ts +19 -0
- package/es/CustomTableOption/locale/zh_CN.js +19 -0
- package/es/CustomTableOption/style/index.css +5 -0
- package/es/CustomTableOption/style/variables.css +4 -0
- package/es/CustomerService/style/index.css +1 -0
- package/es/DatePicker/style/index.css +1 -0
- package/es/Descriptions/style/index.css +1 -0
- package/es/Divider/style/index.css +1 -0
- package/es/Drawer/style/index.css +1 -0
- package/es/Dropdown/style/index.css +3 -2
- package/es/Dropdown/style/variables.css +2 -2
- package/es/EditTable/style/index.css +1 -0
- package/es/Empty/style/index.css +1 -0
- package/es/Filter/style/index.css +1 -0
- package/es/Form/style/index.css +1 -0
- package/es/FullScreen/style/index.css +1 -0
- package/es/Grid/style/index.css +1 -0
- package/es/Icon/style/index.css +1 -0
- package/es/Image/style/index.css +1 -0
- package/es/Input/style/index.css +1 -0
- package/es/InputNumber/style/index.css +1 -0
- package/es/Layout/style/index.css +1 -0
- package/es/LeftTable/index.js +3 -1
- package/es/LeftTable/style/index.css +1 -0
- package/es/List/style/index.css +1 -0
- package/es/LmEditTable/EditTable.js +102 -98
- package/es/LmEditTable/style/index.css +23 -0
- package/es/LmEditTable/style/variables.css +22 -0
- package/es/LmEditTable/util.d.ts +1 -0
- package/es/LmEditTable/util.js +27 -0
- package/es/LmSelect/style/index.css +1 -0
- package/es/LmTable/style/index.css +1 -0
- package/es/Locale/default.d.ts +4 -1
- package/es/Locale/default.js +3 -1
- package/es/Locale/zh_CN.d.ts +4 -1
- package/es/Locale/zh_CN.js +3 -1
- package/es/Mentions/style/index.css +1 -0
- package/es/Menu/style/index.css +1 -0
- package/es/Modal/index.js +18 -14
- package/es/Modal/locale.d.ts +7 -0
- package/es/Modal/locale.js +12 -0
- package/es/Modal/style/index.css +1 -0
- package/es/PageHeader/style/index.css +1 -0
- package/es/Pagination/style/index.css +1 -0
- package/es/Popconfirm/style/index.css +1 -0
- package/es/Popover/style/index.css +1 -0
- package/es/Progress/style/index.css +1 -0
- package/es/QuickMenu/style/index.css +6 -0
- package/es/QuickMenu/style/variables.css +5 -0
- package/es/Rate/style/index.css +1 -0
- package/es/Result/style/index.css +1 -0
- package/es/Row/style/index.css +1 -0
- package/es/Segmented/style/index.css +1 -0
- package/es/Select/index.d.ts +1 -0
- package/es/Select/index.js +38 -4
- package/es/Select/style/index.css +1 -0
- package/es/Skeleton/style/index.css +1 -0
- package/es/Slider/style/index.css +1 -0
- package/es/Space/style/index.css +1 -0
- package/es/Spin/style/index.css +1 -0
- package/es/Statistic/style/index.css +1 -0
- package/es/Steps/style/index.css +1 -0
- package/es/Switch/style/index.css +1 -0
- package/es/Table/style/index.css +1 -0
- package/es/Tabs/style/index.css +1 -0
- package/es/Tag/style/index.css +1 -0
- package/es/TimePicker/style/index.css +1 -0
- package/es/Timeline/style/index.css +1 -0
- package/es/Tooltip/style/index.css +1 -0
- package/es/Transfer/style/index.css +1 -0
- package/es/Tree/style/index.css +1 -0
- package/es/TreeSelect/index.d.ts +8 -3
- package/es/TreeSelect/index.js +74 -1
- package/es/TreeSelect/style/index.css +1 -0
- package/es/Typography/style/index.css +1 -0
- package/es/Upload/style/index.css +1 -0
- package/es/locale-provider/style/index.css +1 -0
- package/es/message/style/index.css +1 -0
- package/es/notification/style/index.css +1 -0
- package/es/styles/main.css +1 -0
- package/es/styles/variables.css +45 -12
- package/lib/Affix/style/index.css +1 -0
- package/lib/Alert/style/index.css +1 -0
- package/lib/Approval/style/index.css +1 -0
- package/lib/AutoComplete/style/index.css +1 -0
- package/lib/Avatar/style/index.css +1 -0
- package/lib/Badge/style/index.css +1 -0
- package/lib/Breadcrumb/style/index.css +1 -0
- package/lib/Button/style/index.css +4 -1
- package/lib/Button/style/variables.css +4 -1
- package/lib/ButtonTags/style/index.css +1 -0
- package/lib/Calendar/style/index.css +1 -0
- package/lib/Card/style/index.css +1 -0
- package/lib/CardTable/style/index.css +7 -9
- package/lib/CardTable/style/variables.css +7 -9
- package/lib/Carousel/style/index.css +1 -0
- package/lib/Cascader/style/index.css +1 -0
- package/lib/Col/style/index.css +1 -0
- package/lib/Collapse/style/index.css +1 -0
- package/lib/Comment/style/index.css +1 -0
- package/lib/CustomTableOption/cardSort.js +20 -15
- package/lib/CustomTableOption/columnsSort.js +16 -16
- package/lib/CustomTableOption/filterSort.js +11 -11
- package/lib/CustomTableOption/index.d.ts +1 -0
- package/lib/CustomTableOption/index.js +45 -16
- package/lib/CustomTableOption/locale/en_US.d.ts +19 -0
- package/lib/CustomTableOption/locale/en_US.js +26 -0
- package/lib/CustomTableOption/locale/zh_CN.d.ts +19 -0
- package/lib/CustomTableOption/locale/zh_CN.js +26 -0
- package/lib/CustomTableOption/style/index.css +5 -0
- package/lib/CustomTableOption/style/variables.css +4 -0
- package/lib/CustomerService/style/index.css +1 -0
- package/lib/DatePicker/style/index.css +1 -0
- package/lib/Descriptions/style/index.css +1 -0
- package/lib/Divider/style/index.css +1 -0
- package/lib/Drawer/style/index.css +1 -0
- package/lib/Dropdown/style/index.css +3 -2
- package/lib/Dropdown/style/variables.css +2 -2
- package/lib/EditTable/style/index.css +1 -0
- package/lib/Empty/style/index.css +1 -0
- package/lib/Filter/style/index.css +1 -0
- package/lib/Form/style/index.css +1 -0
- package/lib/FullScreen/style/index.css +1 -0
- package/lib/Grid/style/index.css +1 -0
- package/lib/Icon/style/index.css +1 -0
- package/lib/Image/style/index.css +1 -0
- package/lib/Input/style/index.css +1 -0
- package/lib/InputNumber/style/index.css +1 -0
- package/lib/Layout/style/index.css +1 -0
- package/lib/LeftTable/index.js +3 -1
- package/lib/LeftTable/style/index.css +1 -0
- package/lib/List/style/index.css +1 -0
- package/lib/LmEditTable/EditTable.js +101 -96
- package/lib/LmEditTable/style/index.css +23 -0
- package/lib/LmEditTable/style/variables.css +22 -0
- package/lib/LmEditTable/util.d.ts +1 -0
- package/lib/LmEditTable/util.js +30 -0
- package/lib/LmSelect/style/index.css +1 -0
- package/lib/LmTable/style/index.css +1 -0
- package/lib/Locale/default.d.ts +4 -1
- package/lib/Locale/default.js +4 -1
- package/lib/Locale/zh_CN.d.ts +4 -1
- package/lib/Locale/zh_CN.js +4 -1
- package/lib/Mentions/style/index.css +1 -0
- package/lib/Menu/style/index.css +1 -0
- package/lib/Modal/index.js +22 -14
- package/lib/Modal/locale.d.ts +7 -0
- package/lib/Modal/locale.js +25 -0
- package/lib/Modal/style/index.css +1 -0
- package/lib/PageHeader/style/index.css +1 -0
- package/lib/Pagination/style/index.css +1 -0
- package/lib/Popconfirm/style/index.css +1 -0
- package/lib/Popover/style/index.css +1 -0
- package/lib/Progress/style/index.css +1 -0
- package/lib/QuickMenu/style/index.css +6 -0
- package/lib/QuickMenu/style/variables.css +5 -0
- package/lib/Rate/style/index.css +1 -0
- package/lib/Result/style/index.css +1 -0
- package/lib/Row/style/index.css +1 -0
- package/lib/Segmented/style/index.css +1 -0
- package/lib/Select/index.d.ts +1 -0
- package/lib/Select/index.js +37 -3
- package/lib/Select/style/index.css +1 -0
- package/lib/Skeleton/style/index.css +1 -0
- package/lib/Slider/style/index.css +1 -0
- package/lib/Space/style/index.css +1 -0
- package/lib/Spin/style/index.css +1 -0
- package/lib/Statistic/style/index.css +1 -0
- package/lib/Steps/style/index.css +1 -0
- package/lib/Switch/style/index.css +1 -0
- package/lib/Table/style/index.css +1 -0
- package/lib/Tabs/style/index.css +1 -0
- package/lib/Tag/style/index.css +1 -0
- package/lib/TimePicker/style/index.css +1 -0
- package/lib/Timeline/style/index.css +1 -0
- package/lib/Tooltip/style/index.css +1 -0
- package/lib/Transfer/style/index.css +1 -0
- package/lib/Tree/style/index.css +1 -0
- package/lib/TreeSelect/index.d.ts +8 -3
- package/lib/TreeSelect/index.js +78 -1
- package/lib/TreeSelect/style/index.css +1 -0
- package/lib/Typography/style/index.css +1 -0
- package/lib/Upload/style/index.css +1 -0
- package/lib/locale-provider/style/index.css +1 -0
- package/lib/message/style/index.css +1 -0
- package/lib/notification/style/index.css +1 -0
- package/lib/styles/main.css +1 -0
- package/lib/styles/variables.css +45 -12
- package/package.json +1 -1
|
@@ -198,6 +198,7 @@
|
|
|
198
198
|
--font-size-base: 14px;
|
|
199
199
|
--font-size-lg: calc(var(--font-size-base) + 2px);
|
|
200
200
|
--font-size-sm: 12px;
|
|
201
|
+
--border-radius: 2px;
|
|
201
202
|
--color-contrast: #fff;
|
|
202
203
|
--color-100: #000;
|
|
203
204
|
--color-85: #262626;
|
|
@@ -516,6 +517,11 @@ p {
|
|
|
516
517
|
z-index: 999;
|
|
517
518
|
background-color: #fff;
|
|
518
519
|
}
|
|
520
|
+
.lm_quick_menu .ant-btn {
|
|
521
|
+
border: 0;
|
|
522
|
+
border-radius: 4px;
|
|
523
|
+
box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
|
|
524
|
+
}
|
|
519
525
|
.lm_quick_menu .lm_menu_list {
|
|
520
526
|
position: relative;
|
|
521
527
|
width: 0;
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
z-index: 999;
|
|
6
6
|
background-color: #fff;
|
|
7
7
|
}
|
|
8
|
+
.lm_quick_menu .ant-btn {
|
|
9
|
+
border: 0;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
|
|
12
|
+
}
|
|
8
13
|
.lm_quick_menu .lm_menu_list {
|
|
9
14
|
position: relative;
|
|
10
15
|
width: 0;
|
package/es/Rate/style/index.css
CHANGED
package/es/Row/style/index.css
CHANGED
package/es/Select/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface ISelectProps extends SelectProps {
|
|
|
5
5
|
style?: React.CSSProperties;
|
|
6
6
|
Option?: typeof Select.Option;
|
|
7
7
|
OptGroup?: typeof Select.OptGroup;
|
|
8
|
+
defaultLabel?: string;
|
|
8
9
|
}
|
|
9
10
|
declare type SelectType = typeof Select & typeof Select.Option & typeof Select.OptGroup;
|
|
10
11
|
declare const LMSelect: SelectType;
|
package/es/Select/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
14
14
|
return t;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
import React, { forwardRef } from 'react';
|
|
17
|
+
import React, { forwardRef, useMemo } from 'react';
|
|
18
18
|
import classNames from 'classnames';
|
|
19
19
|
import SizeContext from '../ConfigProvider/SizeContext';
|
|
20
20
|
var prefixCls = 'lm_select';
|
|
@@ -23,13 +23,47 @@ var CLMSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
23
23
|
className = props.className,
|
|
24
24
|
customizeSize = props.size,
|
|
25
25
|
dropdownClassName = props.dropdownClassName,
|
|
26
|
-
|
|
26
|
+
options = props.options,
|
|
27
|
+
value = props.value,
|
|
28
|
+
defaultLabel = props.defaultLabel,
|
|
29
|
+
others = __rest(props, ["children", "className", "size", "dropdownClassName", "options", "value", "defaultLabel"]);
|
|
27
30
|
|
|
28
|
-
var size = customizeSize || React.useContext(SizeContext) || 'middle';
|
|
31
|
+
var size = customizeSize || React.useContext(SizeContext) || 'middle'; // 当前值是否存于选项中
|
|
32
|
+
|
|
33
|
+
var hasOption = useMemo(function () {
|
|
34
|
+
var flag = false;
|
|
35
|
+
|
|
36
|
+
if (children) {
|
|
37
|
+
React.Children.forEach(children, function (child) {
|
|
38
|
+
if ( /*#__PURE__*/React.isValidElement(child)) {
|
|
39
|
+
var childValue = child.props.value;
|
|
40
|
+
|
|
41
|
+
if (!flag) {
|
|
42
|
+
flag = childValue === value;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (options) {
|
|
49
|
+
flag = !!options.some(function (v) {
|
|
50
|
+
return v.value === value;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return flag;
|
|
55
|
+
}, [children, value, options]); // 重组value: 传入value但找不到options项时,展示默认label
|
|
56
|
+
|
|
57
|
+
var resetValue = useMemo(function () {
|
|
58
|
+
if (value && !hasOption) return defaultLabel !== null && defaultLabel !== void 0 ? defaultLabel : value;
|
|
59
|
+
return value;
|
|
60
|
+
}, [value, hasOption]);
|
|
29
61
|
return /*#__PURE__*/React.createElement(_Select, Object.assign({
|
|
30
62
|
className: classNames(className, prefixCls),
|
|
31
63
|
size: size,
|
|
32
|
-
ref: ref
|
|
64
|
+
ref: ref,
|
|
65
|
+
value: resetValue,
|
|
66
|
+
options: options
|
|
33
67
|
}, others, {
|
|
34
68
|
dropdownClassName: classNames('lm_select_dropdown', dropdownClassName)
|
|
35
69
|
}), children);
|
package/es/Space/style/index.css
CHANGED
package/es/Spin/style/index.css
CHANGED
package/es/Steps/style/index.css
CHANGED
package/es/Table/style/index.css
CHANGED
package/es/Tabs/style/index.css
CHANGED
package/es/Tag/style/index.css
CHANGED
package/es/Tree/style/index.css
CHANGED
package/es/TreeSelect/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import { TreeSelect } from 'antd';
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import { TreeSelect, TreeSelectProps as OriginTreeSelectProps } from 'antd';
|
|
2
|
+
export interface TreeSelectProps extends OriginTreeSelectProps {
|
|
3
|
+
defaultLabel?: string;
|
|
4
|
+
children?: any;
|
|
5
|
+
}
|
|
6
|
+
declare type TreeSelectType = typeof TreeSelect & typeof TreeSelect.TreeNode;
|
|
7
|
+
declare const LMTreeSelect: TreeSelectType;
|
|
8
|
+
export default LMTreeSelect;
|
package/es/TreeSelect/index.js
CHANGED
|
@@ -1,3 +1,76 @@
|
|
|
1
1
|
import "antd/es/tree-select/style";
|
|
2
2
|
import _TreeSelect from "antd/es/tree-select";
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
5
|
+
var t = {};
|
|
6
|
+
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
12
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
import React, { forwardRef, useCallback, useMemo } from 'react';
|
|
18
|
+
var CLMTreeSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
19
|
+
var children = props.children,
|
|
20
|
+
treeData = props.treeData,
|
|
21
|
+
value = props.value,
|
|
22
|
+
defaultLabel = props.defaultLabel,
|
|
23
|
+
resetProps = __rest(props, ["children", "treeData", "value", "defaultLabel"]);
|
|
24
|
+
|
|
25
|
+
var deepChildren = useCallback(function (arr) {
|
|
26
|
+
var flag = false;
|
|
27
|
+
React.Children.forEach(arr, function (child) {
|
|
28
|
+
if ( /*#__PURE__*/React.isValidElement(child)) {
|
|
29
|
+
var _child$props = child.props,
|
|
30
|
+
childValue = _child$props.value,
|
|
31
|
+
childChildren = _child$props.children;
|
|
32
|
+
|
|
33
|
+
if (!flag) {
|
|
34
|
+
if (childValue === value) {
|
|
35
|
+
flag = true;
|
|
36
|
+
} else if (childChildren) {
|
|
37
|
+
flag = deepChildren(childChildren);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
return flag;
|
|
43
|
+
}, [value]);
|
|
44
|
+
var hasOption = useMemo(function () {
|
|
45
|
+
var flag = false;
|
|
46
|
+
|
|
47
|
+
if (children) {
|
|
48
|
+
flag = deepChildren(children);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (treeData) {
|
|
52
|
+
var deepFind = function deepFind(arr) {
|
|
53
|
+
return arr.some(function (v) {
|
|
54
|
+
if (v.value === value) return true;
|
|
55
|
+
return v.children && deepFind(v.children);
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
flag = deepFind(treeData);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return flag;
|
|
63
|
+
}, [children, value, deepChildren]); // 重组value: 传入value但找不到options项时,展示默认label
|
|
64
|
+
|
|
65
|
+
var resetValue = useMemo(function () {
|
|
66
|
+
if (value && !hasOption) return defaultLabel !== null && defaultLabel !== void 0 ? defaultLabel : value;
|
|
67
|
+
return value;
|
|
68
|
+
}, [value, hasOption]);
|
|
69
|
+
return /*#__PURE__*/React.createElement(_TreeSelect, Object.assign({
|
|
70
|
+
ref: ref,
|
|
71
|
+
value: resetValue
|
|
72
|
+
}, resetProps), children);
|
|
73
|
+
});
|
|
74
|
+
var LMTreeSelect = CLMTreeSelect;
|
|
75
|
+
LMTreeSelect.TreeNode = _TreeSelect.TreeNode;
|
|
76
|
+
export default LMTreeSelect;
|
package/es/styles/main.css
CHANGED
package/es/styles/variables.css
CHANGED
|
@@ -198,6 +198,7 @@
|
|
|
198
198
|
--font-size-base: 14px;
|
|
199
199
|
--font-size-lg: calc(var(--font-size-base) + 2px);
|
|
200
200
|
--font-size-sm: 12px;
|
|
201
|
+
--border-radius: 2px;
|
|
201
202
|
--color-contrast: #fff;
|
|
202
203
|
--color-100: #000;
|
|
203
204
|
--color-85: #262626;
|
|
@@ -746,7 +747,7 @@ p {
|
|
|
746
747
|
}
|
|
747
748
|
.ant-btn.lm-button {
|
|
748
749
|
border: 0;
|
|
749
|
-
display: inline-flex;
|
|
750
|
+
display: inline-flex !important;
|
|
750
751
|
flex-direction: row;
|
|
751
752
|
align-items: center;
|
|
752
753
|
justify-content: center;
|
|
@@ -855,6 +856,9 @@ p {
|
|
|
855
856
|
border: 0 !important;
|
|
856
857
|
background: transparent !important;
|
|
857
858
|
}
|
|
859
|
+
.ant-btn.ant-btn-text {
|
|
860
|
+
background: transparent;
|
|
861
|
+
}
|
|
858
862
|
.ant-btn.lm-button-icon-only .anticon {
|
|
859
863
|
font-size: 16px;
|
|
860
864
|
}
|
|
@@ -956,6 +960,7 @@ p {
|
|
|
956
960
|
position: relative;
|
|
957
961
|
width: 100%;
|
|
958
962
|
border: 1px solid transparent;
|
|
963
|
+
border-radius: 4px;
|
|
959
964
|
overflow: hidden;
|
|
960
965
|
transition: 0.3s;
|
|
961
966
|
}
|
|
@@ -983,7 +988,7 @@ p {
|
|
|
983
988
|
.lm_card_table_container .lm_card_table_body_cell .card_checkbox .lm-checkbox {
|
|
984
989
|
font-size: 0;
|
|
985
990
|
border: 8px solid rgba(255, 255, 255, 0.625);
|
|
986
|
-
border-radius:
|
|
991
|
+
border-radius: var(--border-radius);
|
|
987
992
|
line-height: 1;
|
|
988
993
|
}
|
|
989
994
|
.lm_card_table_container .lm_card_table_body_cell .card_checkbox .ant-checkbox {
|
|
@@ -996,7 +1001,7 @@ p {
|
|
|
996
1001
|
top: 8px;
|
|
997
1002
|
z-index: 1;
|
|
998
1003
|
background-color: rgba(255, 255, 255, 0.625);
|
|
999
|
-
border-radius:
|
|
1004
|
+
border-radius: var(--border-radius);
|
|
1000
1005
|
opacity: 0;
|
|
1001
1006
|
transition: 0.3s;
|
|
1002
1007
|
}
|
|
@@ -1053,7 +1058,6 @@ p {
|
|
|
1053
1058
|
flex-flow: column;
|
|
1054
1059
|
gap: 8px;
|
|
1055
1060
|
height: 100%;
|
|
1056
|
-
border-radius: 2px;
|
|
1057
1061
|
background-color: var(--color-4);
|
|
1058
1062
|
padding: calc(var(--gap) * 2);
|
|
1059
1063
|
transition: 0.3s;
|
|
@@ -1064,7 +1068,7 @@ p {
|
|
|
1064
1068
|
top: 8px;
|
|
1065
1069
|
z-index: 1;
|
|
1066
1070
|
background-color: rgba(255, 255, 255, 0.625);
|
|
1067
|
-
border-radius:
|
|
1071
|
+
border-radius: var(--border-radius);
|
|
1068
1072
|
opacity: 0;
|
|
1069
1073
|
transition: 0.3s;
|
|
1070
1074
|
}
|
|
@@ -1081,7 +1085,7 @@ p {
|
|
|
1081
1085
|
.card_PTC .card_PTC_container .card_PTC_top {
|
|
1082
1086
|
position: relative;
|
|
1083
1087
|
flex: 1;
|
|
1084
|
-
border-radius:
|
|
1088
|
+
border-radius: var(--border-radius);
|
|
1085
1089
|
background: var(--color-15);
|
|
1086
1090
|
overflow: hidden;
|
|
1087
1091
|
}
|
|
@@ -1140,7 +1144,6 @@ p {
|
|
|
1140
1144
|
height: 100%;
|
|
1141
1145
|
display: flex;
|
|
1142
1146
|
flex-flow: column;
|
|
1143
|
-
border-radius: 2px;
|
|
1144
1147
|
background-color: var(--background-color);
|
|
1145
1148
|
transition: 0.3s;
|
|
1146
1149
|
}
|
|
@@ -1156,7 +1159,7 @@ p {
|
|
|
1156
1159
|
flex: 0 0 auto;
|
|
1157
1160
|
width: 35%;
|
|
1158
1161
|
min-width: 126px;
|
|
1159
|
-
border-radius:
|
|
1162
|
+
border-radius: var(--border-radius);
|
|
1160
1163
|
background: var(--color-15);
|
|
1161
1164
|
overflow: hidden;
|
|
1162
1165
|
}
|
|
@@ -1270,7 +1273,6 @@ p {
|
|
|
1270
1273
|
height: 100%;
|
|
1271
1274
|
display: flex;
|
|
1272
1275
|
flex-flow: column;
|
|
1273
|
-
border-radius: 2px;
|
|
1274
1276
|
background-color: var(--background-color);
|
|
1275
1277
|
transition: 0.3s;
|
|
1276
1278
|
}
|
|
@@ -1286,7 +1288,7 @@ p {
|
|
|
1286
1288
|
flex: 0 0 auto;
|
|
1287
1289
|
width: 40%;
|
|
1288
1290
|
min-width: 126px;
|
|
1289
|
-
border-radius:
|
|
1291
|
+
border-radius: var(--border-radius);
|
|
1290
1292
|
background: var(--color-15);
|
|
1291
1293
|
overflow: hidden;
|
|
1292
1294
|
}
|
|
@@ -1791,6 +1793,10 @@ p {
|
|
|
1791
1793
|
display: none;
|
|
1792
1794
|
color: var(--primary-color);
|
|
1793
1795
|
}
|
|
1796
|
+
.lm_custom_option_columns .card_prompt .anticon {
|
|
1797
|
+
font-size: 16px;
|
|
1798
|
+
color: var(--warning-color);
|
|
1799
|
+
}
|
|
1794
1800
|
.lm_custom_size_warp {
|
|
1795
1801
|
display: flex;
|
|
1796
1802
|
flex-direction: column;
|
|
@@ -2284,7 +2290,7 @@ p {
|
|
|
2284
2290
|
background-color: var(--disabled-bg-color);
|
|
2285
2291
|
}
|
|
2286
2292
|
.lm_dropdown_button {
|
|
2287
|
-
border-radius:
|
|
2293
|
+
border-radius: 2px;
|
|
2288
2294
|
border: 1px solid var(--color-15);
|
|
2289
2295
|
box-sizing: content-box;
|
|
2290
2296
|
}
|
|
@@ -2322,7 +2328,7 @@ p {
|
|
|
2322
2328
|
.lm_dropdown_button:hover {
|
|
2323
2329
|
color: var(--primary-hover-color) !important;
|
|
2324
2330
|
border: 1px solid var(--primary-hover-color);
|
|
2325
|
-
border-radius:
|
|
2331
|
+
border-radius: 2px;
|
|
2326
2332
|
}
|
|
2327
2333
|
.lm_dropdown_button:hover .ant-btn {
|
|
2328
2334
|
color: var(--primary-hover-color) !important;
|
|
@@ -9767,6 +9773,10 @@ p {
|
|
|
9767
9773
|
.lm_editTable_warpper .ant-table .ant-table-tbody > .ant-table-measure-row > td {
|
|
9768
9774
|
padding: 0 !important;
|
|
9769
9775
|
}
|
|
9776
|
+
.lm_editTable_warpper .lm_edit_opetate {
|
|
9777
|
+
padding-left: 8px;
|
|
9778
|
+
padding-right: 8px;
|
|
9779
|
+
}
|
|
9770
9780
|
.lm_editTable_warpper .ant-picker {
|
|
9771
9781
|
height: 24px !important;
|
|
9772
9782
|
padding: 2px 8px;
|
|
@@ -9792,6 +9802,24 @@ p {
|
|
|
9792
9802
|
color: var(--color-85);
|
|
9793
9803
|
margin-left: 0 !important;
|
|
9794
9804
|
}
|
|
9805
|
+
.lm_table_append_add_popover .ant-popover-inner-content {
|
|
9806
|
+
padding: 0px;
|
|
9807
|
+
}
|
|
9808
|
+
.lm_table_append_add_popover .ant-popover-inner-content ul {
|
|
9809
|
+
margin: 0;
|
|
9810
|
+
}
|
|
9811
|
+
.lm_table_append_add_popover .ant-popover-inner-content ul li {
|
|
9812
|
+
font-size: 12px;
|
|
9813
|
+
padding: 4px 8px;
|
|
9814
|
+
height: 24px;
|
|
9815
|
+
display: flex;
|
|
9816
|
+
align-items: center;
|
|
9817
|
+
justify-content: center;
|
|
9818
|
+
cursor: pointer;
|
|
9819
|
+
}
|
|
9820
|
+
.lm_table_append_add_popover .ant-popover-inner-content ul li:hover {
|
|
9821
|
+
background-color: var(--color-15);
|
|
9822
|
+
}
|
|
9795
9823
|
.lm_filter_wrapper .lm_filter_container .lm_filter {
|
|
9796
9824
|
display: flex;
|
|
9797
9825
|
flex-wrap: wrap;
|
|
@@ -12077,6 +12105,11 @@ button.ant-table-row-expand-icon::after {
|
|
|
12077
12105
|
z-index: 999;
|
|
12078
12106
|
background-color: #fff;
|
|
12079
12107
|
}
|
|
12108
|
+
.lm_quick_menu .ant-btn {
|
|
12109
|
+
border: 0;
|
|
12110
|
+
border-radius: 4px;
|
|
12111
|
+
box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
|
|
12112
|
+
}
|
|
12080
12113
|
.lm_quick_menu .lm_menu_list {
|
|
12081
12114
|
position: relative;
|
|
12082
12115
|
width: 0;
|