ronds-metadata 1.3.54 → 1.3.56
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +25 -25
- package/es/api/index.js +8 -6
- package/es/comps/CodeEdit/index.d.ts +2 -1
- package/es/comps/DataMine/Line.d.ts +2 -1
- package/es/comps/DataMine/Line.js +0 -1
- package/es/comps/DataMine/index.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
- package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
- package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
- package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
- package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
- package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
- package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
- package/es/comps/DynamicPorts/comps/shape/node.js +8 -9
- package/es/comps/DynamicPorts/graph.js +5 -4
- package/es/comps/DynamicPorts/index.d.ts +2 -1
- package/es/comps/DynamicPorts/index.less +307 -307
- package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
- package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
- package/es/comps/Editable/DataCell/Input.d.ts +1 -1
- package/es/comps/Editable/DataCell/Number.d.ts +1 -1
- package/es/comps/Editable/DataCell/Select.d.ts +1 -1
- package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
- package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
- package/es/comps/Editable/comps/EditableAction.d.ts +2 -1
- package/es/comps/Editable/comps/Texty.d.ts +1 -1
- package/es/comps/Editable/comps/Texty.js +5 -4
- package/es/comps/Editable/comps/Texty.less +43 -43
- package/es/comps/Editable/comps/index.less +38 -38
- package/es/comps/Editable/index.d.ts +2 -1
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/utils.d.ts +2 -1
- package/es/comps/FileView/index.d.ts +2 -1
- package/es/comps/FileView/index.js +2 -3
- package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
- package/es/comps/FormGenerator/comps/Canvas/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Settings/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Settings/index.js +1 -2
- package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.d.ts +2 -1
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/JsonEdit/index.d.ts +2 -1
- package/es/comps/JsonEdit/index.js +0 -1
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.d.ts +2 -1
- package/es/comps/MdEdit/index.d.ts +2 -1
- package/es/comps/MdEditPro/index.d.ts +2 -1
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdEditPro/index2.d.ts +1 -1
- package/es/comps/MdNavbar/index.d.ts +2 -1
- package/es/comps/MdNavbar/index.less +77 -77
- package/es/comps/MdView/index.d.ts +1 -1
- package/es/comps/MdView/index.less +376 -376
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +2 -1
- package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +2 -1
- package/es/comps/MetadataEdit/constant/index.js +0 -2
- package/es/comps/MetadataEdit/index.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.js +15 -4
- package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.js +21 -30
- package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/IconButton.d.ts +8 -0
- package/es/comps/MetadataForm/DataCell/plugin/IconButton.js +16 -0
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +12 -0
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +116 -0
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +13 -0
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.js +65 -0
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +11 -0
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +249 -0
- package/es/comps/MetadataForm/HOC/index.d.ts +2 -1
- package/es/comps/MetadataForm/index.d.ts +2 -1
- package/es/comps/MetadataForm/index.less +26 -26
- package/es/comps/MetadataForm/utils.d.ts +3 -2
- package/es/comps/Split/index.d.ts +1 -1
- package/es/comps/Split/index.less +29 -29
- package/es/framework/RxStore/demo/index.d.ts +2 -1
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/msgpack5/lib/helpers.js +0 -1
- package/es/framework/libs/iconfont/iconfont.css +323 -323
- package/es/framework/libs/iconfont/iconfont.json +548 -548
- package/es/framework/libs/jquery.min.js +4 -4
- package/es/framework/locale/dil8/di18n.js +5 -3
- package/es/framework/metadata/MetadataService.js +14 -14
- package/es/framework/metadata/index.js +14 -15
- package/es/framework/metadata/types.d.ts +103 -103
- package/es/theme.less +81 -81
- package/package.json +1 -1
@@ -3,9 +3,12 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
3
3
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
5
5
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
6
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
7
|
+
import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
|
8
|
+
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
6
9
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
7
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
8
10
|
var _excluded = ["tagName", "children", "placement", "innerRef", "showDelay", "hideDelay", "tooltip", "tooltipClassName", "tooltipStyle", "tooltipMaxWidth", "hideArrow", "container"];
|
11
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
9
12
|
import React from 'react';
|
10
13
|
import ReactDom from 'react-dom';
|
11
14
|
import { Popper } from 'react-popper';
|
@@ -22,14 +25,13 @@ var modifiers = [{
|
|
22
25
|
*/
|
23
26
|
var Texty = /*#__PURE__*/function (_React$PureComponent) {
|
24
27
|
_inherits(Texty, _React$PureComponent);
|
25
|
-
var _super = _createSuper(Texty);
|
26
28
|
function Texty() {
|
27
29
|
var _this;
|
28
30
|
_classCallCheck(this, Texty);
|
29
31
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
30
32
|
args[_key] = arguments[_key];
|
31
33
|
}
|
32
|
-
_this =
|
34
|
+
_this = _callSuper(this, Texty, [].concat(args));
|
33
35
|
_this.state = {
|
34
36
|
isHovered: false
|
35
37
|
};
|
@@ -188,7 +190,6 @@ var Texty = /*#__PURE__*/function (_React$PureComponent) {
|
|
188
190
|
return null;
|
189
191
|
// return <Tag { ...rest } ref={ this.setTargetRef } data-texty={ false } />;
|
190
192
|
}
|
191
|
-
|
192
193
|
var target = this.targetNode;
|
193
194
|
var isTruncated = !!target && target.scrollWidth > target.offsetWidth;
|
194
195
|
var showTooltip = this.state.isHovered && isTruncated;
|
@@ -1,43 +1,43 @@
|
|
1
|
-
[data-texty] {
|
2
|
-
width: 100%;
|
3
|
-
display: block;
|
4
|
-
overflow: hidden;
|
5
|
-
text-overflow: ellipsis;
|
6
|
-
white-space: nowrap;
|
7
|
-
}
|
8
|
-
|
9
|
-
[data-texty-tooltip] {
|
10
|
-
padding: 4px 10px;
|
11
|
-
border-radius: 4px;
|
12
|
-
background-color: #222;
|
13
|
-
color: #fff;
|
14
|
-
z-index: 99999;
|
15
|
-
}
|
16
|
-
|
17
|
-
[data-texty-arrow] {
|
18
|
-
position: absolute;
|
19
|
-
bottom: -6px;
|
20
|
-
width: 0;
|
21
|
-
height: 0;
|
22
|
-
border-style: solid;
|
23
|
-
border-width: 6px 6px 0;
|
24
|
-
border-color: #222 transparent transparent;
|
25
|
-
}
|
26
|
-
|
27
|
-
[data-texty-arrow*='bottom'] {
|
28
|
-
top: -6px;
|
29
|
-
bottom: inherit;
|
30
|
-
transform: rotate(180deg);
|
31
|
-
}
|
32
|
-
|
33
|
-
/* disable the builtin tooltip for truncated text on Safari */
|
34
|
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
35
|
-
@supports (not (-ms-ime-align: auto)) {
|
36
|
-
.EllipsisText::before {
|
37
|
-
content: '';
|
38
|
-
display: block;
|
39
|
-
width: 0;
|
40
|
-
height: 0;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
1
|
+
[data-texty] {
|
2
|
+
width: 100%;
|
3
|
+
display: block;
|
4
|
+
overflow: hidden;
|
5
|
+
text-overflow: ellipsis;
|
6
|
+
white-space: nowrap;
|
7
|
+
}
|
8
|
+
|
9
|
+
[data-texty-tooltip] {
|
10
|
+
padding: 4px 10px;
|
11
|
+
border-radius: 4px;
|
12
|
+
background-color: #222;
|
13
|
+
color: #fff;
|
14
|
+
z-index: 99999;
|
15
|
+
}
|
16
|
+
|
17
|
+
[data-texty-arrow] {
|
18
|
+
position: absolute;
|
19
|
+
bottom: -6px;
|
20
|
+
width: 0;
|
21
|
+
height: 0;
|
22
|
+
border-style: solid;
|
23
|
+
border-width: 6px 6px 0;
|
24
|
+
border-color: #222 transparent transparent;
|
25
|
+
}
|
26
|
+
|
27
|
+
[data-texty-arrow*='bottom'] {
|
28
|
+
top: -6px;
|
29
|
+
bottom: inherit;
|
30
|
+
transform: rotate(180deg);
|
31
|
+
}
|
32
|
+
|
33
|
+
/* disable the builtin tooltip for truncated text on Safari */
|
34
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
35
|
+
@supports (not (-ms-ime-align: auto)) {
|
36
|
+
.EllipsisText::before {
|
37
|
+
content: '';
|
38
|
+
display: block;
|
39
|
+
width: 0;
|
40
|
+
height: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -1,38 +1,38 @@
|
|
1
|
-
.ant-table-th {
|
2
|
-
position: relative;
|
3
|
-
}
|
4
|
-
|
5
|
-
.editable-th-hover-add {
|
6
|
-
position: absolute;
|
7
|
-
right: -3px;
|
8
|
-
top: -8px;
|
9
|
-
}
|
10
|
-
.editable-th-hover-delete {
|
11
|
-
position: absolute;
|
12
|
-
right: 15px;
|
13
|
-
top: -8px;
|
14
|
-
}
|
15
|
-
|
16
|
-
.display-none {
|
17
|
-
display: none;
|
18
|
-
}
|
19
|
-
|
20
|
-
.border-right {
|
21
|
-
border-right: 1px solid var(--antd-wave-shadow-color) !important;
|
22
|
-
}
|
23
|
-
|
24
|
-
.border-top {
|
25
|
-
border-top: 1px solid var(--antd-wave-shadow-color) !important;
|
26
|
-
}
|
27
|
-
|
28
|
-
.font-bold {
|
29
|
-
font-weight: bold;
|
30
|
-
}
|
31
|
-
|
32
|
-
.drop-over-downward td {
|
33
|
-
border-bottom: 2px dashed #1890ff !important;
|
34
|
-
}
|
35
|
-
|
36
|
-
.drop-over-upward td {
|
37
|
-
border-top: 2px dashed #1890ff !important;
|
38
|
-
}
|
1
|
+
.ant-table-th {
|
2
|
+
position: relative;
|
3
|
+
}
|
4
|
+
|
5
|
+
.editable-th-hover-add {
|
6
|
+
position: absolute;
|
7
|
+
right: -3px;
|
8
|
+
top: -8px;
|
9
|
+
}
|
10
|
+
.editable-th-hover-delete {
|
11
|
+
position: absolute;
|
12
|
+
right: 15px;
|
13
|
+
top: -8px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.display-none {
|
17
|
+
display: none;
|
18
|
+
}
|
19
|
+
|
20
|
+
.border-right {
|
21
|
+
border-right: 1px solid var(--antd-wave-shadow-color) !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
.border-top {
|
25
|
+
border-top: 1px solid var(--antd-wave-shadow-color) !important;
|
26
|
+
}
|
27
|
+
|
28
|
+
.font-bold {
|
29
|
+
font-weight: bold;
|
30
|
+
}
|
31
|
+
|
32
|
+
.drop-over-downward td {
|
33
|
+
border-bottom: 2px dashed #1890ff !important;
|
34
|
+
}
|
35
|
+
|
36
|
+
.drop-over-upward td {
|
37
|
+
border-top: 2px dashed #1890ff !important;
|
38
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TableProps } from 'antd';
|
2
|
+
import React from 'react';
|
2
3
|
import { BehaviorSubject } from 'rxjs';
|
3
4
|
import { EditColumnsType, IEditableStream } from './interface';
|
4
5
|
import './index.less';
|
@@ -74,5 +75,5 @@ interface IEditableProps<R = any> {
|
|
74
75
|
*/
|
75
76
|
getStreamInstance?: (subject: BehaviorSubject<IEditableStream | undefined>) => void;
|
76
77
|
}
|
77
|
-
declare const Editable: (props: IEditableProps) => JSX.Element;
|
78
|
+
declare const Editable: (props: IEditableProps) => React.JSX.Element;
|
78
79
|
export default Editable;
|
@@ -1,97 +1,97 @@
|
|
1
|
-
.ronds-edit-table {
|
2
|
-
// table {
|
3
|
-
// border-collapse: collapse !important;
|
4
|
-
// }
|
5
|
-
width: 100%;
|
6
|
-
height: 100%;
|
7
|
-
|
8
|
-
.ant-table-body {
|
9
|
-
overflow: auto !important;
|
10
|
-
}
|
11
|
-
|
12
|
-
//解决固定列底部预留的空隙
|
13
|
-
.ant-table-fixed-left,
|
14
|
-
.ant-table-fixed-right {
|
15
|
-
.ant-table-body-outer {
|
16
|
-
margin-bottom: 0 !important;
|
17
|
-
}
|
18
|
-
.ant-table-cell-scrollbar {
|
19
|
-
margin: 0 !important;
|
20
|
-
padding: 0 !important;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
.ant-spin-nested-loading,
|
25
|
-
.ant-spin-container,
|
26
|
-
.ant-table,
|
27
|
-
.ant-table-container,
|
28
|
-
.ant-table-content {
|
29
|
-
width: 100%;
|
30
|
-
height: 100%;
|
31
|
-
}
|
32
|
-
|
33
|
-
.ant-table-cell,
|
34
|
-
.ant-table-row {
|
35
|
-
height: 30px;
|
36
|
-
padding: 0px 8px !important;
|
37
|
-
}
|
38
|
-
|
39
|
-
.ant-table-body {
|
40
|
-
height: 100%;
|
41
|
-
overflow-y: auto !important;
|
42
|
-
}
|
43
|
-
|
44
|
-
.ant-table.ant-table-small .ant-table-thead > tr > th {
|
45
|
-
padding: 8px !important;
|
46
|
-
background-color: #ebebeb;
|
47
|
-
border-right: 1px solid #f2f2f2;
|
48
|
-
}
|
49
|
-
|
50
|
-
.ant-table-fixed {
|
51
|
-
table-layout: fixed;
|
52
|
-
}
|
53
|
-
|
54
|
-
.ant-table-tbody > tr > td {
|
55
|
-
word-wrap: break-word;
|
56
|
-
word-break: break-all;
|
57
|
-
}
|
58
|
-
|
59
|
-
.ant-table.ant-table-bordered > .ant-table-container {
|
60
|
-
border-bottom: 1px solid #f0f0f0;
|
61
|
-
}
|
62
|
-
|
63
|
-
.ant-table .ant-table-expanded-row-fixed {
|
64
|
-
padding: 0% !important;
|
65
|
-
margin: 0% !important;
|
66
|
-
}
|
67
|
-
|
68
|
-
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {
|
69
|
-
border-right: 0 !important;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
.ronds-metadata-normal {
|
74
|
-
.ant-table {
|
75
|
-
border-right: 1px solid #f0f0f0 !important;
|
76
|
-
|
77
|
-
.ant-table-row--odd {
|
78
|
-
background-color: #ebebeb !important;
|
79
|
-
.ant-table-cell {
|
80
|
-
background-color: #ebebeb !important;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
.ant-table-expanded-row-fixed::after {
|
85
|
-
border: 0 !important;
|
86
|
-
}
|
87
|
-
|
88
|
-
.ant-table-placeholder {
|
89
|
-
pointer-events: none;
|
90
|
-
background-color: #fff !important;
|
91
|
-
.ant-table-cell {
|
92
|
-
padding: 0 !important;
|
93
|
-
background-color: #fff !important;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
1
|
+
.ronds-edit-table {
|
2
|
+
// table {
|
3
|
+
// border-collapse: collapse !important;
|
4
|
+
// }
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
|
8
|
+
.ant-table-body {
|
9
|
+
overflow: auto !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
//解决固定列底部预留的空隙
|
13
|
+
.ant-table-fixed-left,
|
14
|
+
.ant-table-fixed-right {
|
15
|
+
.ant-table-body-outer {
|
16
|
+
margin-bottom: 0 !important;
|
17
|
+
}
|
18
|
+
.ant-table-cell-scrollbar {
|
19
|
+
margin: 0 !important;
|
20
|
+
padding: 0 !important;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.ant-spin-nested-loading,
|
25
|
+
.ant-spin-container,
|
26
|
+
.ant-table,
|
27
|
+
.ant-table-container,
|
28
|
+
.ant-table-content {
|
29
|
+
width: 100%;
|
30
|
+
height: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.ant-table-cell,
|
34
|
+
.ant-table-row {
|
35
|
+
height: 30px;
|
36
|
+
padding: 0px 8px !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
.ant-table-body {
|
40
|
+
height: 100%;
|
41
|
+
overflow-y: auto !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th {
|
45
|
+
padding: 8px !important;
|
46
|
+
background-color: #ebebeb;
|
47
|
+
border-right: 1px solid #f2f2f2;
|
48
|
+
}
|
49
|
+
|
50
|
+
.ant-table-fixed {
|
51
|
+
table-layout: fixed;
|
52
|
+
}
|
53
|
+
|
54
|
+
.ant-table-tbody > tr > td {
|
55
|
+
word-wrap: break-word;
|
56
|
+
word-break: break-all;
|
57
|
+
}
|
58
|
+
|
59
|
+
.ant-table.ant-table-bordered > .ant-table-container {
|
60
|
+
border-bottom: 1px solid #f0f0f0;
|
61
|
+
}
|
62
|
+
|
63
|
+
.ant-table .ant-table-expanded-row-fixed {
|
64
|
+
padding: 0% !important;
|
65
|
+
margin: 0% !important;
|
66
|
+
}
|
67
|
+
|
68
|
+
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {
|
69
|
+
border-right: 0 !important;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
.ronds-metadata-normal {
|
74
|
+
.ant-table {
|
75
|
+
border-right: 1px solid #f0f0f0 !important;
|
76
|
+
|
77
|
+
.ant-table-row--odd {
|
78
|
+
background-color: #ebebeb !important;
|
79
|
+
.ant-table-cell {
|
80
|
+
background-color: #ebebeb !important;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.ant-table-expanded-row-fixed::after {
|
85
|
+
border: 0 !important;
|
86
|
+
}
|
87
|
+
|
88
|
+
.ant-table-placeholder {
|
89
|
+
pointer-events: none;
|
90
|
+
background-color: #fff !important;
|
91
|
+
.ant-table-cell {
|
92
|
+
padding: 0 !important;
|
93
|
+
background-color: #fff !important;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { EditableCellProps } from './interface';
|
2
|
-
export declare function getDataCell(item: EditableCellProps): JSX.Element;
|
3
|
+
export declare function getDataCell(item: EditableCellProps): React.JSX.Element;
|
3
4
|
export declare function isFreeEditRow(curRow: any, rowIndex: number): boolean;
|
4
5
|
export declare function isFreeEditCell(editCellKey: any, dataIndex: string, rowIndex: number): boolean;
|
5
6
|
export declare function isCellDisabled(record: any, cellDisabled?: string): boolean;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
interface IFileViewProps {
|
2
3
|
/**
|
3
4
|
* 文件远程链接
|
@@ -16,5 +17,5 @@ interface IFileViewProps {
|
|
16
17
|
*/
|
17
18
|
limit?: number;
|
18
19
|
}
|
19
|
-
declare const FileView: (props: IFileViewProps) => JSX.Element;
|
20
|
+
declare const FileView: (props: IFileViewProps) => React.JSX.Element;
|
20
21
|
export default FileView;
|
@@ -40,11 +40,10 @@ var FileView = function FileView(props) {
|
|
40
40
|
return data[i][it];
|
41
41
|
});
|
42
42
|
_value.push(arr);
|
43
|
-
if (i === limit - 1) return
|
43
|
+
if (i === limit - 1) return 1; // break
|
44
44
|
};
|
45
45
|
for (var i = 0; i < data.length; i++) {
|
46
|
-
|
47
|
-
if (_ret === "break") break;
|
46
|
+
if (_loop(i)) break;
|
48
47
|
}
|
49
48
|
setValue([].concat(_value));
|
50
49
|
firstLoadRef.current = false;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) => JSX.Element;
|
1
|
+
declare const _default: (props: any) => import("react").JSX.Element;
|
2
2
|
export default _default;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
|
+
export declare function withFieldCellWrapper(WrappedComponent: any): (props: any) => React.JSX.Element;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { FG } from '../../../../interface';
|
2
|
+
import React from 'react';
|
2
3
|
interface IRenderFieldProps {
|
3
4
|
data: FG.Node;
|
4
5
|
/**
|
@@ -7,5 +8,5 @@ interface IRenderFieldProps {
|
|
7
8
|
refId?: string;
|
8
9
|
isShowAction?: boolean;
|
9
10
|
}
|
10
|
-
declare const RenderField: (props: IRenderFieldProps) => JSX.Element;
|
11
|
+
declare const RenderField: (props: IRenderFieldProps) => React.JSX.Element;
|
11
12
|
export default RenderField;
|
@@ -17,5 +17,5 @@ interface ICanvasCoreProps {
|
|
17
17
|
*/
|
18
18
|
onChange?: (nodes: FG.Node[]) => void;
|
19
19
|
}
|
20
|
-
declare const _default: React.MemoExoticComponent<(props: ICanvasCoreProps) => JSX.Element>;
|
20
|
+
declare const _default: React.MemoExoticComponent<(props: ICanvasCoreProps) => React.JSX.Element>;
|
21
21
|
export default _default;
|
@@ -1,23 +1,23 @@
|
|
1
|
-
.canvas-wrapper {
|
2
|
-
.drag-item {
|
3
|
-
position: relative;
|
4
|
-
border: 1px dashed var(--ronds-metadata-color-border-1);
|
5
|
-
background: var(--ronds-metadata-color-bg-2);
|
6
|
-
margin-bottom: 8px;
|
7
|
-
}
|
8
|
-
|
9
|
-
.drag-item-selected {
|
10
|
-
border: 1px solid var(--ronds-metadata-color-border-2);
|
11
|
-
}
|
12
|
-
|
13
|
-
.ant-form-item {
|
14
|
-
margin-bottom: '4px' !important;
|
15
|
-
}
|
16
|
-
.ant-form-item-label {
|
17
|
-
padding: 0 0 2px !important;
|
18
|
-
}
|
19
|
-
.ant-input-number,
|
20
|
-
.ant-picker {
|
21
|
-
width: 100%;
|
22
|
-
}
|
23
|
-
}
|
1
|
+
.canvas-wrapper {
|
2
|
+
.drag-item {
|
3
|
+
position: relative;
|
4
|
+
border: 1px dashed var(--ronds-metadata-color-border-1);
|
5
|
+
background: var(--ronds-metadata-color-bg-2);
|
6
|
+
margin-bottom: 8px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.drag-item-selected {
|
10
|
+
border: 1px solid var(--ronds-metadata-color-border-2);
|
11
|
+
}
|
12
|
+
|
13
|
+
.ant-form-item {
|
14
|
+
margin-bottom: '4px' !important;
|
15
|
+
}
|
16
|
+
.ant-form-item-label {
|
17
|
+
padding: 0 0 2px !important;
|
18
|
+
}
|
19
|
+
.ant-input-number,
|
20
|
+
.ant-picker {
|
21
|
+
width: 100%;
|
22
|
+
}
|
23
|
+
}
|
@@ -84,7 +84,6 @@ var Settings = function Settings() {
|
|
84
84
|
setCurTab(key);
|
85
85
|
};
|
86
86
|
var _onValuesChange = function onValuesChange(id, val, allVals) {
|
87
|
-
var _payload;
|
88
87
|
var _settingValue = settingValueRef.current;
|
89
88
|
if (refIdRef.current && id !== formSetting.id) {
|
90
89
|
var _key = "".concat(refIdRef.current, "_ref");
|
@@ -96,7 +95,7 @@ var Settings = function Settings() {
|
|
96
95
|
settingValueRef.current = _settingValue;
|
97
96
|
fGCtx.fgStream && fGCtx.fgStream.next({
|
98
97
|
type: streamEventType.onSettingValueChange,
|
99
|
-
payload: (
|
98
|
+
payload: _defineProperty(_defineProperty(_defineProperty({}, id, allVals), "allSetting", settingValueRef.current), "refId", refIdRef.current)
|
100
99
|
});
|
101
100
|
};
|
102
101
|
return /*#__PURE__*/React.createElement("div", {
|