ronds-metadata 1.2.83 → 1.2.84

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
  2. package/es/comps/DynamicPorts/comps/NodeElement.d.ts +1 -1
  3. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
  4. package/es/comps/DynamicPorts/index.d.ts +1 -2
  5. package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
  6. package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
  7. package/es/comps/Editable/DataCell/Input.d.ts +1 -1
  8. package/es/comps/Editable/DataCell/Number.d.ts +1 -1
  9. package/es/comps/Editable/DataCell/Select.d.ts +1 -1
  10. package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
  11. package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
  12. package/es/comps/Editable/comps/Texty.d.ts +1 -1
  13. package/es/comps/Editable/index.d.ts +1 -2
  14. package/es/comps/Editable/utils.d.ts +1 -2
  15. package/es/comps/FileView/index.d.ts +1 -2
  16. package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
  17. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
  18. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
  19. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
  20. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
  21. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
  22. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
  23. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
  24. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
  25. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
  26. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
  27. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
  28. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
  29. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
  30. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
  31. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
  32. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
  33. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
  34. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
  35. package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
  36. package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
  37. package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
  38. package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
  39. package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
  40. package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
  41. package/es/comps/FormGenerator/index.d.ts +1 -2
  42. package/es/comps/JsonEdit/index.d.ts +1 -2
  43. package/es/comps/JsonView/index.d.ts +1 -2
  44. package/es/comps/JsonView/index.less +41 -41
  45. package/es/comps/MdEdit/index.d.ts +1 -2
  46. package/es/comps/MdEdit/index.less +6 -6
  47. package/es/comps/MdEditPro/index.d.ts +1 -2
  48. package/es/comps/MdNavbar/index.d.ts +1 -2
  49. package/es/comps/MdView/index.d.ts +1 -1
  50. package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
  51. package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
  52. package/es/comps/MetadataEdit/constant/index.js +30 -20
  53. package/es/comps/MetadataEdit/index.d.ts +1 -2
  54. package/es/comps/MetadataEdit/index.less +10 -10
  55. package/es/comps/MetadataEdit/type.d.ts +20 -20
  56. package/es/comps/MetadataEditV2/components/MetaFieldsEdit.d.ts +1 -2
  57. package/es/comps/MetadataEditV2/components/MetaPropsEdit.d.ts +1 -2
  58. package/es/comps/MetadataEditV2/index.d.ts +1 -2
  59. package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
  60. package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
  61. package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
  62. package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
  63. package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
  64. package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
  65. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
  66. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
  67. package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
  68. package/es/comps/MetadataForm/HOC/index.less +41 -41
  69. package/es/comps/MetadataForm/index.d.ts +1 -2
  70. package/es/comps/MetadataForm/utils.d.ts +2 -3
  71. package/es/comps/Split/index.d.ts +1 -1
  72. package/es/framework/RxStore/demo/index.d.ts +1 -2
  73. package/es/framework/metadata/types.d.ts +98 -98
  74. package/package.json +103 -103
@@ -3,5 +3,5 @@ import '../index.less';
3
3
  interface IDragNodeProps {
4
4
  data: NDPGraph.Node;
5
5
  }
6
- declare const DragNode: (props: IDragNodeProps) => import("react").JSX.Element;
6
+ declare const DragNode: (props: IDragNodeProps) => JSX.Element;
7
7
  export default DragNode;
@@ -2,5 +2,5 @@ import '../index.less';
2
2
  interface NodeElementProps {
3
3
  node?: Node;
4
4
  }
5
- declare const NodeElement: (props: NodeElementProps) => import("react").JSX.Element;
5
+ declare const NodeElement: (props: NodeElementProps) => JSX.Element;
6
6
  export default NodeElement;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface INodeContextMenuProps {
4
3
  graph: any;
5
4
  data: any;
6
5
  }
7
- declare const NodeContextMenu: (props: INodeContextMenuProps) => React.JSX.Element;
6
+ declare const NodeContextMenu: (props: INodeContextMenuProps) => JSX.Element;
8
7
  export default NodeContextMenu;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  import './comps/shape/connector';
4
3
  import DPGraph from './graph';
@@ -21,5 +20,5 @@ interface IDynamicPortsProps {
21
20
  */
22
21
  getDPGraphInstance?: (data: DPGraph) => void;
23
22
  }
24
- declare const DynamicPorts: (props: IDynamicPortsProps) => React.JSX.Element;
23
+ declare const DynamicPorts: (props: IDynamicPortsProps) => JSX.Element;
25
24
  export default DynamicPorts;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { EditableCellProps } from '../interface';
3
- declare function Index(props: EditableCellProps): React.JSX.Element;
3
+ declare function Index(props: EditableCellProps): JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { EditableCellProps } from '../interface';
3
- declare function Index(props: EditableCellProps): React.JSX.Element;
3
+ declare function Index(props: EditableCellProps): JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { EditableCellProps } from '../interface';
3
- declare function Index(props: EditableCellProps): React.JSX.Element;
3
+ declare function Index(props: EditableCellProps): JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- declare function Index(props: any): React.JSX.Element;
2
+ declare function Index(props: any): JSX.Element;
3
3
  declare const _default: React.MemoExoticComponent<typeof Index>;
4
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { EditableCellProps } from '../interface';
3
- declare function Index(props: EditableCellProps): React.JSX.Element;
3
+ declare function Index(props: EditableCellProps): JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- declare function Index(props: any): React.JSX.Element;
2
+ declare function Index(props: any): JSX.Element;
3
3
  declare const _default: React.MemoExoticComponent<typeof Index>;
4
4
  export default _default;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  interface IEditableActionProps {
3
2
  type: 'single' | 'multiple' | 'freedom';
4
3
  record: any;
5
4
  }
6
- declare const EditableAction: (props: IEditableActionProps) => React.JSX.Element;
5
+ declare const EditableAction: (props: IEditableActionProps) => JSX.Element;
7
6
  export default EditableAction;
@@ -69,7 +69,7 @@ declare class Texty extends React.PureComponent<ITextyProps, any> {
69
69
  private showTimer;
70
70
  componentDidUpdate(): void;
71
71
  componentWillUnmount(): void;
72
- render(): React.JSX.Element;
72
+ render(): JSX.Element;
73
73
  renderTooltip: ({ ref, style, placement, arrowProps }: any) => React.ReactPortal;
74
74
  setTargetRef: (ref: any) => void;
75
75
  handleMouseEvent: (e: any) => void;
@@ -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) => React.JSX.Element;
77
+ declare const Editable: (props: IEditableProps) => JSX.Element;
79
78
  export default Editable;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  import { EditableCellProps } from './interface';
3
- export declare function getDataCell(item: EditableCellProps): React.JSX.Element;
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) => React.JSX.Element;
19
+ declare const FileView: (props: IFileViewProps) => JSX.Element;
21
20
  export default FileView;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  interface IPreviewProps {
3
2
  schema: any[];
4
3
  }
5
- declare const Preview: (props: IPreviewProps) => React.JSX.Element;
4
+ declare const Preview: (props: IPreviewProps) => JSX.Element;
6
5
  export default Preview;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: (props: any) => React.JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => import("react").JSX.Element;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,2 +1 @@
1
- import React from 'react';
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) => React.JSX.Element;
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) => React.JSX.Element>;
20
+ declare const _default: React.MemoExoticComponent<(props: ICanvasCoreProps) => JSX.Element>;
21
21
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const Canvas: () => React.JSX.Element;
1
+ declare const Canvas: () => JSX.Element;
3
2
  export default Canvas;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const Settings: () => React.JSX.Element;
1
+ declare const Settings: () => JSX.Element;
3
2
  export default Settings;
@@ -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,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface IFormGeneratorProps {
4
3
  /**
@@ -6,5 +5,5 @@ interface IFormGeneratorProps {
6
5
  */
7
6
  defaultSchema?: any;
8
7
  }
9
- declare const FormGenerator: (props: IFormGeneratorProps) => React.JSX.Element;
8
+ declare const FormGenerator: (props: IFormGeneratorProps) => JSX.Element;
10
9
  export default FormGenerator;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface IMdNavbarProps {
4
3
  source: string;
@@ -10,5 +9,5 @@ interface IMdNavbarProps {
10
9
  onNavItemClick?: (event: any, element: HTMLDivElement, hashValue: string) => void;
11
10
  onHashChange?: (newHash: string, oldHash: string) => void;
12
11
  }
13
- declare const MdNavbar: (props: IMdNavbarProps) => React.JSX.Element;
12
+ declare const MdNavbar: (props: IMdNavbarProps) => JSX.Element;
14
13
  export default MdNavbar;
@@ -20,5 +20,5 @@ interface IMdViewProps {
20
20
  onHashChange?: (newHash: string, oldHash: string) => void;
21
21
  };
22
22
  }
23
- declare const MdView: (props: IMdViewProps) => import("react").JSX.Element;
23
+ declare const MdView: (props: IMdViewProps) => JSX.Element;
24
24
  export default MdView;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  interface IMetaFieldsEditProps {
3
2
  type?: string;
4
3
  defaultValues?: any;
5
4
  onChange?: (values: any) => void;
6
5
  }
7
- declare const MetaFieldsEdit: (props: IMetaFieldsEditProps) => React.JSX.Element;
6
+ declare const MetaFieldsEdit: (props: IMetaFieldsEditProps) => JSX.Element;
8
7
  export default MetaFieldsEdit;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { FormInstance } from 'antd/lib/form';
3
2
  interface IMetaPropsEditProps {
4
3
  form: FormInstance;
@@ -10,5 +9,5 @@ interface IMetaPropsEditProps {
10
9
  onAddFields?: (idx: number) => void;
11
10
  onNewRefClick?: () => void;
12
11
  }
13
- declare const MetaPropsEdit: (props: IMetaPropsEditProps) => React.JSX.Element;
12
+ declare const MetaPropsEdit: (props: IMetaPropsEditProps) => JSX.Element;
14
13
  export default MetaPropsEdit;
@@ -33,29 +33,39 @@ export var ARRAY_TYPES_OPTIONS = [{
33
33
  export var OUTERMOST_TYPES_OPTIONS = [{
34
34
  label: '对象',
35
35
  value: 'object'
36
- }, {
37
- label: '数字',
38
- value: 'number'
39
- }, {
40
- label: '文本',
41
- value: 'text'
42
- }, {
43
- label: '布尔类型',
44
- value: 'bool'
45
- }];
36
+ }
37
+ // {
38
+ // label: '数字',
39
+ // value: 'number',
40
+ // },
41
+ // {
42
+ // label: '文本',
43
+ // value: 'text',
44
+ // },
45
+ // {
46
+ // label: '布尔类型',
47
+ // value: 'bool',
48
+ // },
49
+ ];
50
+
46
51
  export var RULE_TYPES_OPTIONS = [{
47
52
  label: '引用',
48
53
  value: 'ref'
49
- }, {
50
- label: '数字',
51
- value: 'number'
52
- }, {
53
- label: '文本',
54
- value: 'text'
55
- }, {
56
- label: '布尔类型',
57
- value: 'bool'
58
- }];
54
+ }
55
+ // {
56
+ // label: '数字',
57
+ // value: 'number',
58
+ // },
59
+ // {
60
+ // label: '文本',
61
+ // value: 'text',
62
+ // },
63
+ // {
64
+ // label: '布尔类型',
65
+ // value: 'bool',
66
+ // },
67
+ ];
68
+
59
69
  export var NUMBER_FORMAT_OPTIONS = [{
60
70
  label: 'int',
61
71
  value: 'int'
@@ -1,5 +1,4 @@
1
1
  import { FormInstance } from 'antd';
2
- import React from 'react';
3
2
  import './index.less';
4
3
  interface IMetadataEditProps {
5
4
  /**
@@ -27,5 +26,5 @@ interface IMetadataEditProps {
27
26
  */
28
27
  getFormInstance?: (form: FormInstance) => void;
29
28
  }
30
- declare const MetadataEdit: (props: IMetadataEditProps) => React.JSX.Element;
29
+ declare const MetadataEdit: (props: IMetadataEditProps) => JSX.Element;
31
30
  export default MetadataEdit;
@@ -1,10 +1,10 @@
1
- .metadata-edit {
2
- height: 100%;
3
- width: 100%;
4
- .ant-row {
5
- display: block;
6
- }
7
- .pr-10 {
8
- padding-right: 10px;
9
- }
10
- }
1
+ .metadata-edit {
2
+ height: 100%;
3
+ width: 100%;
4
+ .ant-row {
5
+ display: block;
6
+ }
7
+ .pr-10 {
8
+ padding-right: 10px;
9
+ }
10
+ }