ronds-metadata 1.3.85 → 1.3.86
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/README.md +25 -25
- package/es/api/index.js +5 -7
- package/es/comps/CodeEdit/index.d.ts +1 -2
- package/es/comps/CodeEdit/index.less +6 -6
- package/es/comps/DataMine/Line.d.ts +1 -2
- package/es/comps/DataMine/Line.js +1 -0
- package/es/comps/DataMine/index.d.ts +1 -2
- 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 +1 -2
- package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
- 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 +1 -2
- 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 +9 -8
- package/es/comps/DynamicPorts/graph.js +4 -5
- package/es/comps/DynamicPorts/index.d.ts +1 -2
- 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 +1 -2
- package/es/comps/Editable/comps/Texty.d.ts +1 -1
- package/es/comps/Editable/comps/Texty.js +4 -5
- 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 +1 -2
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/utils.d.ts +1 -2
- package/es/comps/FileView/index.d.ts +1 -2
- package/es/comps/FileView/index.js +3 -2
- package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
- 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 +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
- 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 +1 -2
- 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 +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
- 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 +1 -2
- 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 +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
- 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 +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
- 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 +1 -2
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.d.ts +1 -2
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/JsonEdit/index.d.ts +1 -2
- package/es/comps/JsonEdit/index.js +1 -0
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.d.ts +1 -2
- package/es/comps/JsonView/index.less +41 -41
- package/es/comps/MdEdit/index.d.ts +1 -2
- package/es/comps/MdEdit/index.less +6 -6
- package/es/comps/MdEditPro/index.d.ts +1 -2
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdEditPro/index2.d.ts +1 -1
- package/es/comps/MdNavbar/index.d.ts +1 -2
- 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 +1 -2
- package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/constant/index.js +2 -0
- package/es/comps/MetadataEdit/index.d.ts +1 -2
- package/es/comps/MetadataEdit/index.less +10 -10
- package/es/comps/MetadataEdit/type.d.ts +20 -20
- 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/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/Switch.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +1 -2
- package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
- package/es/comps/MetadataForm/HOC/index.less +41 -41
- package/es/comps/MetadataForm/index.d.ts +1 -2
- package/es/comps/MetadataForm/utils.d.ts +2 -3
- package/es/comps/Split/index.d.ts +1 -1
- package/es/comps/Split/index.less +29 -29
- package/es/config.js +0 -1
- package/es/framework/RxStore/demo/index.d.ts +1 -2
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/msgpack5/lib/helpers.js +1 -0
- package/es/framework/libs/jquery.min.js +4 -4
- package/es/framework/locale/dil8/di18n.js +3 -5
- package/es/framework/metadata/MetadataService.js +14 -14
- package/es/framework/metadata/index.js +15 -14
- package/es/framework/metadata/types.d.ts +103 -103
- package/es/theme.less +81 -81
- package/package.json +116 -116
@@ -3,12 +3,9 @@ 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";
|
9
6
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
7
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
10
8
|
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)); }
|
12
9
|
import React from 'react';
|
13
10
|
import ReactDom from 'react-dom';
|
14
11
|
import { Popper } from 'react-popper';
|
@@ -25,13 +22,14 @@ var modifiers = [{
|
|
25
22
|
*/
|
26
23
|
var Texty = /*#__PURE__*/function (_React$PureComponent) {
|
27
24
|
_inherits(Texty, _React$PureComponent);
|
25
|
+
var _super = _createSuper(Texty);
|
28
26
|
function Texty() {
|
29
27
|
var _this;
|
30
28
|
_classCallCheck(this, Texty);
|
31
29
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
32
30
|
args[_key] = arguments[_key];
|
33
31
|
}
|
34
|
-
_this =
|
32
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
35
33
|
_this.state = {
|
36
34
|
isHovered: false
|
37
35
|
};
|
@@ -190,6 +188,7 @@ var Texty = /*#__PURE__*/function (_React$PureComponent) {
|
|
190
188
|
return null;
|
191
189
|
// return <Tag { ...rest } ref={ this.setTargetRef } data-texty={ false } />;
|
192
190
|
}
|
191
|
+
|
193
192
|
var target = this.targetNode;
|
194
193
|
var isTruncated = !!target && target.scrollWidth > target.offsetWidth;
|
195
194
|
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,5 +1,4 @@
|
|
1
1
|
import { TableProps } from 'antd';
|
2
|
-
import React from 'react';
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
4
3
|
import { EditColumnsType, IEditableStream } from './interface';
|
5
4
|
import './index.less';
|
@@ -75,5 +74,5 @@ interface IEditableProps<R = any> {
|
|
75
74
|
*/
|
76
75
|
getStreamInstance?: (subject: BehaviorSubject<IEditableStream | undefined>) => void;
|
77
76
|
}
|
78
|
-
declare const Editable: (props: IEditableProps) =>
|
77
|
+
declare const Editable: (props: IEditableProps) => JSX.Element;
|
79
78
|
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,6 +1,5 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import { EditableCellProps } from './interface';
|
3
|
-
export declare function getDataCell(item: EditableCellProps):
|
2
|
+
export declare function getDataCell(item: EditableCellProps): JSX.Element;
|
4
3
|
export declare function isFreeEditRow(curRow: any, rowIndex: number): boolean;
|
5
4
|
export declare function isFreeEditCell(editCellKey: any, dataIndex: string, rowIndex: number): boolean;
|
6
5
|
export declare function isCellDisabled(record: any, cellDisabled?: string): boolean;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
interface IFileViewProps {
|
3
2
|
/**
|
4
3
|
* 文件远程链接
|
@@ -17,5 +16,5 @@ interface IFileViewProps {
|
|
17
16
|
*/
|
18
17
|
limit?: number;
|
19
18
|
}
|
20
|
-
declare const FileView: (props: IFileViewProps) =>
|
19
|
+
declare const FileView: (props: IFileViewProps) => JSX.Element;
|
21
20
|
export default FileView;
|
@@ -40,10 +40,11 @@ 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 "break";
|
44
44
|
};
|
45
45
|
for (var i = 0; i < data.length; i++) {
|
46
|
-
|
46
|
+
var _ret = _loop(i);
|
47
|
+
if (_ret === "break") break;
|
47
48
|
}
|
48
49
|
setValue([].concat(_value));
|
49
50
|
firstLoadRef.current = false;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (props: any) =>
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
2
2
|
export default _default;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function withFieldCellWrapper(WrappedComponent: any): (props: any) => React.JSX.Element;
|
1
|
+
export declare function withFieldCellWrapper(WrappedComponent: any): (props: any) => JSX.Element;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { FG } from '../../../../interface';
|
2
|
-
import React from 'react';
|
3
2
|
interface IRenderFieldProps {
|
4
3
|
data: FG.Node;
|
5
4
|
/**
|
@@ -8,5 +7,5 @@ interface IRenderFieldProps {
|
|
8
7
|
refId?: string;
|
9
8
|
isShowAction?: boolean;
|
10
9
|
}
|
11
|
-
declare const RenderField: (props: IRenderFieldProps) =>
|
10
|
+
declare const RenderField: (props: IRenderFieldProps) => JSX.Element;
|
12
11
|
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) =>
|
20
|
+
declare const _default: React.MemoExoticComponent<(props: ICanvasCoreProps) => 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,6 +84,7 @@ var Settings = function Settings() {
|
|
84
84
|
setCurTab(key);
|
85
85
|
};
|
86
86
|
var _onValuesChange = function onValuesChange(id, val, allVals) {
|
87
|
+
var _payload;
|
87
88
|
var _settingValue = settingValueRef.current;
|
88
89
|
if (refIdRef.current && id !== formSetting.id) {
|
89
90
|
var _key = "".concat(refIdRef.current, "_ref");
|
@@ -95,7 +96,7 @@ var Settings = function Settings() {
|
|
95
96
|
settingValueRef.current = _settingValue;
|
96
97
|
fGCtx.fgStream && fGCtx.fgStream.next({
|
97
98
|
type: streamEventType.onSettingValueChange,
|
98
|
-
payload:
|
99
|
+
payload: (_payload = {}, _defineProperty(_payload, id, allVals), _defineProperty(_payload, "allSetting", settingValueRef.current), _defineProperty(_payload, "refId", refIdRef.current), _payload)
|
99
100
|
});
|
100
101
|
};
|
101
102
|
return /*#__PURE__*/React.createElement("div", {
|