ronds-metadata 1.2.6 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/es/comps/Icons/index.js +2 -2
- package/es/comps/JsonView/index.less +41 -41
- package/es/comps/MdView/index.less +354 -354
- package/es/comps/MetadataEdit/index.less +10 -10
- package/es/comps/MetadataEdit/type.d.ts +20 -20
- package/es/comps/MetadataForm/DataCell/Input.js +5 -5
- package/es/comps/MetadataForm/DataCell/Number.js +2 -2
- package/es/comps/MetadataForm/DataCell/Ref.js +2 -2
- package/es/comps/MetadataForm/DataCell/Select.js +5 -5
- package/es/comps/MetadataForm/DataCell/Switch.js +3 -3
- package/es/comps/MetadataForm/HOC/index.less +35 -30
- package/es/comps/MetadataForm/index.less +1 -0
- package/es/framework/libs/iconfont/iconfont.css +59 -59
- package/es/framework/libs/iconfont/iconfont.ttf +0 -0
- package/es/framework/libs/iconfont/iconfont.woff +0 -0
- package/es/framework/libs/iconfont/iconfont.woff2 +0 -0
- package/es/framework/metadata/types.d.ts +98 -98
- package/es/theme.less +77 -77
- package/package.json +93 -93
- package/es/framework/libs/iconfont/iconfont.json +0 -380
package/es/comps/Icons/index.js
CHANGED
@@ -4,7 +4,7 @@ import React from "react";
|
|
4
4
|
/*
|
5
5
|
* @Author: wangxian
|
6
6
|
* @Date: 2022-05-28 11:04:20
|
7
|
-
* @LastEditTime:
|
7
|
+
* @LastEditTime: 2023-02-24 09:09:51
|
8
8
|
*/
|
9
9
|
import '../../framework/libs/iconfont/iconfont.css';
|
10
10
|
|
@@ -15,7 +15,7 @@ var Icon = function Icon(props) {
|
|
15
15
|
_props$style = props.style,
|
16
16
|
style = _props$style === void 0 ? {} : _props$style;
|
17
17
|
return /*#__PURE__*/React.createElement("span", {
|
18
|
-
className: "
|
18
|
+
className: "mt mt-".concat(type, " ").concat(className),
|
19
19
|
style: _objectSpread({}, style)
|
20
20
|
});
|
21
21
|
};
|
@@ -1,41 +1,41 @@
|
|
1
|
-
pre {
|
2
|
-
margin: 0;
|
3
|
-
font-weight: 900;
|
4
|
-
font-size: 14px;
|
5
|
-
}
|
6
|
-
.string {
|
7
|
-
color: #3ab54a;
|
8
|
-
}
|
9
|
-
.number {
|
10
|
-
color: #25aae2;
|
11
|
-
}
|
12
|
-
.boolean {
|
13
|
-
color: #f98280;
|
14
|
-
}
|
15
|
-
.null {
|
16
|
-
color: #f1592a;
|
17
|
-
}
|
18
|
-
.width-10 {
|
19
|
-
width: 10px;
|
20
|
-
}
|
21
|
-
.key {
|
22
|
-
color: #92278f;
|
23
|
-
}
|
24
|
-
.open {
|
25
|
-
display: inline-block;
|
26
|
-
width: 12px;
|
27
|
-
height: 12px;
|
28
|
-
background: url('./icon/close.png') no-repeat;
|
29
|
-
background-size: 100% 100%;
|
30
|
-
vertical-align: middle;
|
31
|
-
cursor: pointer;
|
32
|
-
}
|
33
|
-
.close {
|
34
|
-
display: inline-block;
|
35
|
-
width: 12px;
|
36
|
-
height: 12px;
|
37
|
-
background: url('./icon/open.png') no-repeat;
|
38
|
-
background-size: 100% 100%;
|
39
|
-
vertical-align: middle;
|
40
|
-
cursor: pointer;
|
41
|
-
}
|
1
|
+
pre {
|
2
|
+
margin: 0;
|
3
|
+
font-weight: 900;
|
4
|
+
font-size: 14px;
|
5
|
+
}
|
6
|
+
.string {
|
7
|
+
color: #3ab54a;
|
8
|
+
}
|
9
|
+
.number {
|
10
|
+
color: #25aae2;
|
11
|
+
}
|
12
|
+
.boolean {
|
13
|
+
color: #f98280;
|
14
|
+
}
|
15
|
+
.null {
|
16
|
+
color: #f1592a;
|
17
|
+
}
|
18
|
+
.width-10 {
|
19
|
+
width: 10px;
|
20
|
+
}
|
21
|
+
.key {
|
22
|
+
color: #92278f;
|
23
|
+
}
|
24
|
+
.open {
|
25
|
+
display: inline-block;
|
26
|
+
width: 12px;
|
27
|
+
height: 12px;
|
28
|
+
background: url('./icon/close.png') no-repeat;
|
29
|
+
background-size: 100% 100%;
|
30
|
+
vertical-align: middle;
|
31
|
+
cursor: pointer;
|
32
|
+
}
|
33
|
+
.close {
|
34
|
+
display: inline-block;
|
35
|
+
width: 12px;
|
36
|
+
height: 12px;
|
37
|
+
background: url('./icon/open.png') no-repeat;
|
38
|
+
background-size: 100% 100%;
|
39
|
+
vertical-align: middle;
|
40
|
+
cursor: pointer;
|
41
|
+
}
|