ronds-metadata 1.3.84 → 1.3.86

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. package/README.md +25 -25
  2. package/es/api/index.js +5 -7
  3. package/es/comps/CodeEdit/index.d.ts +2 -2
  4. package/es/comps/CodeEdit/index.js +3 -2
  5. package/es/comps/CodeEdit/index.less +6 -6
  6. package/es/comps/DataMine/Line.d.ts +1 -2
  7. package/es/comps/DataMine/Line.js +1 -0
  8. package/es/comps/DataMine/index.d.ts +1 -2
  9. package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
  10. package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
  11. package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
  12. package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +1 -2
  13. package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
  14. package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
  15. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
  16. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
  17. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
  18. package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
  19. package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
  20. package/es/comps/DynamicPorts/comps/shape/node.js +9 -8
  21. package/es/comps/DynamicPorts/graph.js +4 -5
  22. package/es/comps/DynamicPorts/index.d.ts +1 -2
  23. package/es/comps/DynamicPorts/index.less +307 -307
  24. package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
  25. package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
  26. package/es/comps/Editable/DataCell/Input.d.ts +1 -1
  27. package/es/comps/Editable/DataCell/Number.d.ts +1 -1
  28. package/es/comps/Editable/DataCell/Select.d.ts +1 -1
  29. package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
  30. package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
  31. package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
  32. package/es/comps/Editable/comps/Texty.d.ts +1 -1
  33. package/es/comps/Editable/comps/Texty.js +4 -5
  34. package/es/comps/Editable/comps/Texty.less +43 -43
  35. package/es/comps/Editable/comps/index.less +38 -38
  36. package/es/comps/Editable/index.d.ts +1 -2
  37. package/es/comps/Editable/index.less +97 -97
  38. package/es/comps/Editable/utils.d.ts +1 -2
  39. package/es/comps/FileView/index.d.ts +1 -2
  40. package/es/comps/FileView/index.js +3 -2
  41. package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
  42. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
  43. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
  44. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
  45. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
  46. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
  47. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
  48. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
  49. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
  50. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
  51. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
  52. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
  53. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
  54. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
  55. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
  56. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
  57. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
  58. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
  59. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
  60. package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
  61. package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
  62. package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
  63. package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
  64. package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
  65. package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
  66. package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
  67. package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
  68. package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
  69. package/es/comps/FormGenerator/index.d.ts +1 -2
  70. package/es/comps/FormGenerator/index.less +20 -20
  71. package/es/comps/JsonEdit/index.d.ts +1 -2
  72. package/es/comps/JsonEdit/index.js +1 -0
  73. package/es/comps/JsonEdit/index.less +64 -64
  74. package/es/comps/JsonView/index.d.ts +1 -2
  75. package/es/comps/JsonView/index.less +41 -41
  76. package/es/comps/MdEdit/index.d.ts +1 -2
  77. package/es/comps/MdEdit/index.less +6 -6
  78. package/es/comps/MdEditPro/index.d.ts +1 -2
  79. package/es/comps/MdEditPro/index.less +166 -166
  80. package/es/comps/MdEditPro/index2.d.ts +1 -1
  81. package/es/comps/MdNavbar/index.d.ts +1 -2
  82. package/es/comps/MdNavbar/index.less +77 -77
  83. package/es/comps/MdView/index.d.ts +1 -1
  84. package/es/comps/MdView/index.less +376 -376
  85. package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
  86. package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
  87. package/es/comps/MetadataEdit/constant/index.js +2 -0
  88. package/es/comps/MetadataEdit/index.d.ts +1 -2
  89. package/es/comps/MetadataEdit/index.less +10 -10
  90. package/es/comps/MetadataEdit/type.d.ts +20 -20
  91. package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
  92. package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
  93. package/es/comps/MetadataForm/DataCell/Input.js +8 -4
  94. package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
  95. package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
  96. package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
  97. package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
  98. package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
  99. package/es/comps/MetadataForm/DataCell/business/index.js +1 -0
  100. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
  101. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +2 -2
  102. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.js +10 -5
  103. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +2 -2
  104. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.js +8 -4
  105. package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +2 -2
  106. package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.js +12 -6
  107. package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +2 -2
  108. package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.js +12 -6
  109. package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
  110. package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.js +24 -7
  111. package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +2 -2
  112. package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +12 -16
  113. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
  114. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
  115. package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
  116. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +2 -2
  117. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +12 -6
  118. package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
  119. package/es/comps/MetadataForm/HOC/index.less +41 -41
  120. package/es/comps/MetadataForm/index.d.ts +1 -2
  121. package/es/comps/MetadataForm/utils.d.ts +2 -3
  122. package/es/comps/Split/index.d.ts +1 -1
  123. package/es/comps/Split/index.less +29 -29
  124. package/es/framework/RxStore/demo/index.d.ts +1 -2
  125. package/es/framework/graph/index.less +15 -15
  126. package/es/framework/http/msgpack5/lib/helpers.js +1 -0
  127. package/es/framework/libs/jquery.min.js +4 -4
  128. package/es/framework/locale/dil8/di18n.js +3 -5
  129. package/es/framework/metadata/MetadataService.js +14 -14
  130. package/es/framework/metadata/index.js +15 -14
  131. package/es/framework/metadata/types.d.ts +103 -103
  132. package/es/theme.less +81 -81
  133. package/package.json +116 -116
@@ -2,5 +2,5 @@ import { FG } from '../../interface';
2
2
  interface IElementsProps {
3
3
  data: FG.Node;
4
4
  }
5
- declare const Elements: (props: IElementsProps) => import("react").JSX.Element;
5
+ declare const Elements: (props: IElementsProps) => JSX.Element;
6
6
  export default Elements;
@@ -1,5 +1,5 @@
1
1
  interface IJsonSchemaProps {
2
2
  json: string;
3
3
  }
4
- declare const JsonSchema: (props: IJsonSchemaProps) => import("react").JSX.Element;
4
+ declare const JsonSchema: (props: IJsonSchemaProps) => JSX.Element;
5
5
  export default JsonSchema;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Sidebar: () => React.JSX.Element;
2
+ declare const Sidebar: () => JSX.Element;
4
3
  export default Sidebar;
@@ -1,21 +1,21 @@
1
- .fg-sidebar {
2
- height: 100%;
3
- position: relative;
4
-
5
- &-bottom-tool {
6
- position: absolute;
7
- display: flex;
8
- left: 0;
9
- right: 0;
10
- align-items: center;
11
- bottom: 0;
12
- cursor: pointer;
13
- .ant-radio-group {
14
- width: 100%;
15
- .ant-radio-button-wrapper {
16
- width: 50%;
17
- text-align: center;
18
- }
19
- }
20
- }
21
- }
1
+ .fg-sidebar {
2
+ height: 100%;
3
+ position: relative;
4
+
5
+ &-bottom-tool {
6
+ position: absolute;
7
+ display: flex;
8
+ left: 0;
9
+ right: 0;
10
+ align-items: center;
11
+ bottom: 0;
12
+ cursor: pointer;
13
+ .ant-radio-group {
14
+ width: 100%;
15
+ .ant-radio-button-wrapper {
16
+ width: 50%;
17
+ text-align: center;
18
+ }
19
+ }
20
+ }
21
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface IFormGeneratorProps {
4
3
  /**
@@ -7,5 +6,5 @@ interface IFormGeneratorProps {
7
6
  defaultSchema?: any;
8
7
  onImportSchema?: () => void;
9
8
  }
10
- declare const FormGenerator: (props: IFormGeneratorProps) => React.JSX.Element;
9
+ declare const FormGenerator: (props: IFormGeneratorProps) => JSX.Element;
11
10
  export default FormGenerator;
@@ -1,20 +1,20 @@
1
- .form-generator-container {
2
- width: 100%;
3
- height: 100%;
4
-
5
- .ant-tabs {
6
- height: 100%;
7
- .ant-tabs-nav {
8
- margin: 0px 0 8px 0;
9
- }
10
- .ant-tabs-content-holder {
11
- height: calc(100% - 50px);
12
- .ant-tabs-content {
13
- height: 100%;
14
- padding: 8px;
15
- overflow-y: auto;
16
- overflow-x: hidden;
17
- }
18
- }
19
- }
20
- }
1
+ .form-generator-container {
2
+ width: 100%;
3
+ height: 100%;
4
+
5
+ .ant-tabs {
6
+ height: 100%;
7
+ .ant-tabs-nav {
8
+ margin: 0px 0 8px 0;
9
+ }
10
+ .ant-tabs-content-holder {
11
+ height: calc(100% - 50px);
12
+ .ant-tabs-content {
13
+ height: 100%;
14
+ padding: 8px;
15
+ overflow-y: auto;
16
+ overflow-x: hidden;
17
+ }
18
+ }
19
+ }
20
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import 'codemirror/lib/codemirror.css';
3
2
  import 'codemirror/theme/neo.css';
4
3
  import 'codemirror/theme/panda-syntax.css';
@@ -66,5 +65,5 @@ interface ISqlEditProps {
66
65
  */
67
66
  onReWriteEnter?: () => void;
68
67
  }
69
- declare const SqlEdit: (props: ISqlEditProps) => React.JSX.Element;
68
+ declare const SqlEdit: (props: ISqlEditProps) => JSX.Element;
70
69
  export default SqlEdit;
@@ -59,6 +59,7 @@ var SqlEdit = function SqlEdit(props) {
59
59
  __editor.setValue(result);
60
60
  } // 代码格式化
61
61
  };
62
+
62
63
  if (onReWriteEnter) {
63
64
  _extraKeys.Enter = function (__editor) {
64
65
  onReWriteEnter();
@@ -1,64 +1,64 @@
1
- .my-txt {
2
- width: 100%;
3
- height: 100%;
4
- border: 0;
5
- outline: none;
6
- }
7
- .sql {
8
- color: blue;
9
- }
10
-
11
- .sql:after {
12
- content: 'sql';
13
- padding-left: 20px;
14
- font-style: italic;
15
- float: right;
16
- color: gray;
17
- }
18
-
19
- .table {
20
- color: blueviolet;
21
- }
22
- .table:after {
23
- content: 'table';
24
- padding-left: 20px;
25
- font-style: italic;
26
- float: right;
27
- color: gray;
28
- }
29
-
30
- .column {
31
- color: brown;
32
- }
33
- .column:after {
34
- content: 'column';
35
- padding-left: 20px;
36
- font-style: italic;
37
- float: right;
38
- color: gray;
39
- }
40
-
41
- .pf {
42
- color: cadetblue;
43
- }
44
- .pf:after {
45
- content: 'procfunc';
46
- padding-left: 20px;
47
- font-style: italic;
48
- float: right;
49
- color: gray;
50
- }
51
-
52
- .CodeMirror {
53
- height: 100%;
54
- // height: auto;
55
- min-height: 28px;
56
- font-size: 14px;
57
- direction: ltr;
58
- }
59
- .CodeMirror-scroll {
60
- overflow-x: hidden !important;
61
- }
62
- .CodeMirror-sizer {
63
- margin-bottom: 0px !important;
64
- }
1
+ .my-txt {
2
+ width: 100%;
3
+ height: 100%;
4
+ border: 0;
5
+ outline: none;
6
+ }
7
+ .sql {
8
+ color: blue;
9
+ }
10
+
11
+ .sql:after {
12
+ content: 'sql';
13
+ padding-left: 20px;
14
+ font-style: italic;
15
+ float: right;
16
+ color: gray;
17
+ }
18
+
19
+ .table {
20
+ color: blueviolet;
21
+ }
22
+ .table:after {
23
+ content: 'table';
24
+ padding-left: 20px;
25
+ font-style: italic;
26
+ float: right;
27
+ color: gray;
28
+ }
29
+
30
+ .column {
31
+ color: brown;
32
+ }
33
+ .column:after {
34
+ content: 'column';
35
+ padding-left: 20px;
36
+ font-style: italic;
37
+ float: right;
38
+ color: gray;
39
+ }
40
+
41
+ .pf {
42
+ color: cadetblue;
43
+ }
44
+ .pf:after {
45
+ content: 'procfunc';
46
+ padding-left: 20px;
47
+ font-style: italic;
48
+ float: right;
49
+ color: gray;
50
+ }
51
+
52
+ .CodeMirror {
53
+ height: 100%;
54
+ // height: auto;
55
+ min-height: 28px;
56
+ font-size: 14px;
57
+ direction: ltr;
58
+ }
59
+ .CodeMirror-scroll {
60
+ overflow-x: hidden !important;
61
+ }
62
+ .CodeMirror-sizer {
63
+ margin-bottom: 0px !important;
64
+ }
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface IJsonViewProps {
4
3
  json: string;
5
4
  }
6
- declare const JsonView: (props: IJsonViewProps) => React.JSX.Element;
5
+ declare const JsonView: (props: IJsonViewProps) => JSX.Element;
7
6
  export default JsonView;
@@ -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
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import 'react-markdown-editor-lite/lib/index.css';
3
2
  import { UploadFunc } from 'react-markdown-editor-lite/cjs/share/var';
4
3
  import './index.less';
@@ -13,5 +12,5 @@ interface IMdEditProps {
13
12
  text?: string;
14
13
  }>;
15
14
  }
16
- declare const MdEdit: (props: IMdEditProps) => React.JSX.Element;
15
+ declare const MdEdit: (props: IMdEditProps) => JSX.Element;
17
16
  export default MdEdit;
@@ -1,6 +1,6 @@
1
- .rc-md-editor.full {
2
- width: 100% !important;
3
- }
4
- .rc-md-editor .rc-md-navigation .button-wrap {
5
- align-items: center;
6
- }
1
+ .rc-md-editor.full {
2
+ width: 100% !important;
3
+ }
4
+ .rc-md-editor .rc-md-navigation .button-wrap {
5
+ align-items: center;
6
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface IMdEditProProps {
4
3
  value: string;
@@ -7,5 +6,5 @@ interface IMdEditProProps {
7
6
  default: string;
8
7
  }>;
9
8
  }
10
- declare const MdEditPro: (props: IMdEditProProps) => React.JSX.Element;
9
+ declare const MdEditPro: (props: IMdEditProProps) => JSX.Element;
11
10
  export default MdEditPro;