ronds-metadata 1.2.80 → 1.2.81

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) 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 +2 -1
  4. package/es/comps/DynamicPorts/index.d.ts +2 -1
  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 +2 -1
  12. package/es/comps/Editable/comps/Texty.d.ts +1 -1
  13. package/es/comps/Editable/index.d.ts +2 -1
  14. package/es/comps/Editable/utils.d.ts +2 -1
  15. package/es/comps/FileView/index.d.ts +2 -1
  16. package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +6 -0
  17. package/es/comps/FormGenerator/comps/Canvas/Preview.js +58 -0
  18. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +2 -1
  19. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
  20. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
  21. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
  22. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +2 -1
  23. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +2 -1
  24. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
  25. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
  26. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +2 -1
  27. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
  28. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +2 -1
  29. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +2 -1
  30. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
  31. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +2 -1
  32. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
  33. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
  34. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +2 -1
  35. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +2 -1
  36. package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
  37. package/es/comps/FormGenerator/comps/Canvas/index.d.ts +2 -1
  38. package/es/comps/FormGenerator/comps/Canvas/index.js +28 -13
  39. package/es/comps/FormGenerator/comps/Settings/index.d.ts +2 -1
  40. package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
  41. package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
  42. package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +2 -1
  43. package/es/comps/FormGenerator/comps/Sidebar/index.js +30 -4
  44. package/es/comps/FormGenerator/index.d.ts +2 -1
  45. package/es/comps/FormGenerator/interface.d.ts +5 -1
  46. package/es/comps/FormGenerator/interface.js +1 -1
  47. package/es/comps/FormGenerator/settings/index.d.ts +1 -0
  48. package/es/comps/FormGenerator/settings/index.js +3 -2
  49. package/es/comps/JsonEdit/index.d.ts +2 -1
  50. package/es/comps/JsonView/index.d.ts +2 -1
  51. package/es/comps/JsonView/index.less +41 -41
  52. package/es/comps/MdEdit/index.d.ts +2 -1
  53. package/es/comps/MdEdit/index.less +6 -6
  54. package/es/comps/MdEditPro/index.d.ts +2 -1
  55. package/es/comps/MdNavbar/index.d.ts +2 -1
  56. package/es/comps/MdView/index.d.ts +1 -1
  57. package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +2 -1
  58. package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +2 -1
  59. package/es/comps/MetadataEdit/index.d.ts +2 -1
  60. package/es/comps/MetadataEdit/index.less +10 -10
  61. package/es/comps/MetadataEdit/type.d.ts +20 -20
  62. package/es/comps/MetadataEditV2/components/MetaFieldsEdit.d.ts +2 -1
  63. package/es/comps/MetadataEditV2/components/MetaPropsEdit.d.ts +2 -1
  64. package/es/comps/MetadataEditV2/index.d.ts +2 -1
  65. package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
  66. package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
  67. package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
  68. package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
  69. package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
  70. package/es/comps/MetadataForm/DataCell/Select.js +1 -1
  71. package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
  72. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +2 -1
  73. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +2 -1
  74. package/es/comps/MetadataForm/HOC/index.d.ts +2 -1
  75. package/es/comps/MetadataForm/HOC/index.less +41 -41
  76. package/es/comps/MetadataForm/index.d.ts +2 -1
  77. package/es/comps/MetadataForm/utils.d.ts +3 -2
  78. package/es/comps/Split/index.d.ts +1 -1
  79. package/es/framework/RxStore/demo/index.d.ts +2 -1
  80. package/es/framework/metadata/types.d.ts +98 -98
  81. package/es/utils.js +2 -2
  82. package/package.json +103 -103
@@ -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,3 +1,4 @@
1
+ import React from 'react';
1
2
  import 'react-markdown-editor-lite/lib/index.css';
2
3
  import { UploadFunc } from 'react-markdown-editor-lite/cjs/share/var';
3
4
  import './index.less';
@@ -12,5 +13,5 @@ interface IMdEditProps {
12
13
  text?: string;
13
14
  }>;
14
15
  }
15
- declare const MdEdit: (props: IMdEditProps) => JSX.Element;
16
+ declare const MdEdit: (props: IMdEditProps) => React.JSX.Element;
16
17
  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,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  interface IMdEditProProps {
3
4
  value: string;
@@ -6,5 +7,5 @@ interface IMdEditProProps {
6
7
  default: string;
7
8
  }>;
8
9
  }
9
- declare const MdEditPro: (props: IMdEditProProps) => JSX.Element;
10
+ declare const MdEditPro: (props: IMdEditProProps) => React.JSX.Element;
10
11
  export default MdEditPro;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  interface IMdNavbarProps {
3
4
  source: string;
@@ -9,5 +10,5 @@ interface IMdNavbarProps {
9
10
  onNavItemClick?: (event: any, element: HTMLDivElement, hashValue: string) => void;
10
11
  onHashChange?: (newHash: string, oldHash: string) => void;
11
12
  }
12
- declare const MdNavbar: (props: IMdNavbarProps) => JSX.Element;
13
+ declare const MdNavbar: (props: IMdNavbarProps) => React.JSX.Element;
13
14
  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) => JSX.Element;
23
+ declare const MdView: (props: IMdViewProps) => import("react").JSX.Element;
24
24
  export default MdView;
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  interface IMetaFieldsEditProps {
2
3
  type?: string;
3
4
  defaultValues?: any;
4
5
  onChange?: (values: any) => void;
5
6
  }
6
- declare const MetaFieldsEdit: (props: IMetaFieldsEditProps) => JSX.Element;
7
+ declare const MetaFieldsEdit: (props: IMetaFieldsEditProps) => React.JSX.Element;
7
8
  export default MetaFieldsEdit;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { FormInstance } from 'antd/lib/form';
2
3
  interface IMetaPropsEditProps {
3
4
  form: FormInstance;
@@ -9,5 +10,5 @@ interface IMetaPropsEditProps {
9
10
  onAddFields?: (idx: number) => void;
10
11
  onNewRefClick?: () => void;
11
12
  }
12
- declare const MetaPropsEdit: (props: IMetaPropsEditProps) => JSX.Element;
13
+ declare const MetaPropsEdit: (props: IMetaPropsEditProps) => React.JSX.Element;
13
14
  export default MetaPropsEdit;
@@ -1,4 +1,5 @@
1
1
  import { FormInstance } from 'antd';
2
+ import React from 'react';
2
3
  import './index.less';
3
4
  interface IMetadataEditProps {
4
5
  /**
@@ -26,5 +27,5 @@ interface IMetadataEditProps {
26
27
  */
27
28
  getFormInstance?: (form: FormInstance) => void;
28
29
  }
29
- declare const MetadataEdit: (props: IMetadataEditProps) => JSX.Element;
30
+ declare const MetadataEdit: (props: IMetadataEditProps) => React.JSX.Element;
30
31
  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
+ }
@@ -1,20 +1,20 @@
1
- export interface IMetaFileds {
2
- id: string;
3
- type: 'object';
4
- properties: any[];
5
- value: any;
6
- }
7
-
8
- export type ITypeStatus = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array';
9
-
10
- export type IMetaProperty = {
11
- /**
12
- * 属性的名称
13
- */
14
- id: string;
15
- /**
16
- * 类型
17
- */
18
- type: string;
19
- enum?: any[];
20
- };
1
+ export interface IMetaFileds {
2
+ id: string;
3
+ type: 'object';
4
+ properties: any[];
5
+ value: any;
6
+ }
7
+
8
+ export type ITypeStatus = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array';
9
+
10
+ export type IMetaProperty = {
11
+ /**
12
+ * 属性的名称
13
+ */
14
+ id: string;
15
+ /**
16
+ * 类型
17
+ */
18
+ type: string;
19
+ enum?: any[];
20
+ };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  interface IMetaFieldsEditProps {
2
3
  defaultValues?: any;
3
4
  onChange?: (values: any) => void;
4
5
  }
5
- declare const MetaFieldsEdit: (props: IMetaFieldsEditProps) => JSX.Element;
6
+ declare const MetaFieldsEdit: (props: IMetaFieldsEditProps) => React.JSX.Element;
6
7
  export default MetaFieldsEdit;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { FormInstance } from 'antd/lib/form';
2
3
  interface IMetaPropsEditProps {
3
4
  form: FormInstance;
@@ -8,5 +9,5 @@ interface IMetaPropsEditProps {
8
9
  onAddFields?: (idx: number) => void;
9
10
  onNewRefClick?: () => void;
10
11
  }
11
- declare const MetaPropsEdit: (props: IMetaPropsEditProps) => JSX.Element;
12
+ declare const MetaPropsEdit: (props: IMetaPropsEditProps) => React.JSX.Element;
12
13
  export default MetaPropsEdit;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  interface IMetadataEditProps {
3
4
  /**
@@ -21,5 +22,5 @@ interface IMetadataEditProps {
21
22
  */
22
23
  onNewRefClick?: () => void;
23
24
  }
24
- declare const MetadataEditV2: (props: IMetadataEditProps) => JSX.Element;
25
+ declare const MetadataEditV2: (props: IMetadataEditProps) => React.JSX.Element;
25
26
  export default MetadataEditV2;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IMetaFormProps } from '../interface';
3
- declare function Index(props: IMetaFormProps): JSX.Element;
3
+ declare function Index(props: IMetaFormProps): React.JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IMetaFormProps } from '../interface';
3
- declare function Index(props: IMetaFormProps): JSX.Element;
3
+ declare function Index(props: IMetaFormProps): React.JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
6
6
  export declare const DEFAULT_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IMetaFormProps } from '../interface';
3
- declare function Index(props: IMetaFormProps): JSX.Element;
3
+ declare function Index(props: IMetaFormProps): React.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 { IMetaFormProps } from '../interface';
3
- declare function Index(props: IMetaFormProps): JSX.Element;
3
+ declare function Index(props: IMetaFormProps): React.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 { IMetaFormProps } from '../interface';
3
- declare function Index(props: IMetaFormProps): JSX.Element;
3
+ declare function Index(props: IMetaFormProps): React.JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -37,7 +37,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
37
37
  /*
38
38
  * @Author:wangxian
39
39
  * @Date: 2021-09-18 14:15:04
40
- * @LastEditTime: 2023-06-29 15:00:57
40
+ * @LastEditTime: 2023-07-04 16:30:59
41
41
  */
42
42
  import React from 'react';
43
43
  import { MetadataFormContext, MetadataRefContext } from '../interface';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IMetaFormProps } from '../interface';
3
- declare function Index(props: IMetaFormProps): JSX.Element;
3
+ declare function Index(props: IMetaFormProps): React.JSX.Element;
4
4
  declare const _default: React.MemoExoticComponent<typeof Index>;
5
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { FormInstance } from 'antd';
2
3
  interface ITableArrayProps {
3
4
  name: string | string[];
@@ -10,5 +11,5 @@ interface ITableArrayProps {
10
11
  addButtonHidden?: boolean;
11
12
  initValue: any;
12
13
  }
13
- declare const TableArray: (props: ITableArrayProps) => JSX.Element;
14
+ declare const TableArray: (props: ITableArrayProps) => React.JSX.Element;
14
15
  export default TableArray;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface INumberRangeProps {
2
3
  startKey?: string;
3
4
  endKey?: string;
@@ -15,5 +16,5 @@ interface INumberRangeProps {
15
16
  value?: any;
16
17
  onChange?: (value: any) => void;
17
18
  }
18
- declare const NumberRange: (props: INumberRangeProps) => JSX.Element;
19
+ declare const NumberRange: (props: INumberRangeProps) => React.JSX.Element;
19
20
  export default NumberRange;
@@ -1,2 +1,3 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
- export declare function withAddOnAfter(WrappedComponent: any): (props: any) => JSX.Element;
3
+ export declare function withAddOnAfter(WrappedComponent: any): (props: any) => React.JSX.Element;
@@ -1,41 +1,41 @@
1
- .with-add-on-after {
2
- --card-bg: #ffffff;
3
- position: relative;
4
- width: 100%;
5
-
6
- .ant-form-item-label {
7
- padding: 0 !important;
8
- }
9
-
10
- & > .ant-form-item {
11
- padding: 0 0 8px !important;
12
- flex: 1;
13
- }
14
- &-extra {
15
- position: absolute;
16
- right: 20px;
17
- top: 18px;
18
- padding: 0 6px;
19
- background-color: var(--card-bg);
20
- z-index: 1000;
21
- }
22
- &-ref {
23
- position: absolute;
24
- right: 20px;
25
- top: -10px;
26
- padding: 0 6px;
27
- background-color: var(--card-bg);
28
- z-index: 1000;
29
- }
30
- .ant-select-tree-indent {
31
- .ant-select-tree-indent-unit {
32
- width: 10px !important;
33
- }
34
- }
35
-
36
- /* .ant-col-2.7 {
37
- display: block;
38
- flex: 0 0 75%;
39
- max-width: 75%;
40
- } */
41
- }
1
+ .with-add-on-after {
2
+ --card-bg: #ffffff;
3
+ position: relative;
4
+ width: 100%;
5
+
6
+ .ant-form-item-label {
7
+ padding: 0 !important;
8
+ }
9
+
10
+ & > .ant-form-item {
11
+ padding: 0 0 8px !important;
12
+ flex: 1;
13
+ }
14
+ &-extra {
15
+ position: absolute;
16
+ right: 20px;
17
+ top: 18px;
18
+ padding: 0 6px;
19
+ background-color: var(--card-bg);
20
+ z-index: 1000;
21
+ }
22
+ &-ref {
23
+ position: absolute;
24
+ right: 20px;
25
+ top: -10px;
26
+ padding: 0 6px;
27
+ background-color: var(--card-bg);
28
+ z-index: 1000;
29
+ }
30
+ .ant-select-tree-indent {
31
+ .ant-select-tree-indent-unit {
32
+ width: 10px !important;
33
+ }
34
+ }
35
+
36
+ /* .ant-col-2.7 {
37
+ display: block;
38
+ flex: 0 0 75%;
39
+ max-width: 75%;
40
+ } */
41
+ }
@@ -1,4 +1,5 @@
1
1
  import { FormInstance } from 'antd/lib/form/hooks/useForm';
2
+ import React from 'react';
2
3
  import './index.less';
3
4
  import { IMetaData } from '../../framework/metadata/types';
4
5
  interface IMetadataFormProps {
@@ -71,5 +72,5 @@ interface IMetadataFormProps {
71
72
  */
72
73
  onCellButtonClick?: (changedValues: any) => void;
73
74
  }
74
- declare const MetadataForm: (props: IMetadataFormProps) => JSX.Element;
75
+ declare const MetadataForm: (props: IMetadataFormProps) => React.JSX.Element;
75
76
  export default MetadataForm;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { IFormOptions } from './interface';
2
- export declare function getDataCell(item: any, options: IFormOptions, colSpan: number): JSX.Element;
3
+ export declare function getDataCell(item: any, options: IFormOptions, colSpan: number): React.JSX.Element;
3
4
  /**
4
5
  * 渲染表单
5
6
  * @param schemaRef 元数据的schema
@@ -11,7 +12,7 @@ export declare function getDataCell(item: any, options: IFormOptions, colSpan: n
11
12
  * @param isObj 是否是个对象
12
13
  * @returns
13
14
  */
14
- export declare function renderForm(schemaRef: any[], options: IFormOptions, colSpan?: number): JSX.Element;
15
+ export declare function renderForm(schemaRef: any[], options: IFormOptions, colSpan?: number): React.JSX.Element;
15
16
  export declare function getLabelByProps(data: any): any;
16
17
  export declare function assign(pathArr: string[], val: any, obj: any): void;
17
18
  export declare function assignReplace(pathArr: string[], val: any, obj: any): void;
@@ -21,5 +21,5 @@ interface IPrpos {
21
21
  children: ReactNode;
22
22
  }
23
23
  /** antd的card不能直接放在children里 外层套一个div */
24
- declare const Index: (props: IPrpos) => JSX.Element;
24
+ declare const Index: (props: IPrpos) => React.JSX.Element;
25
25
  export default Index;
@@ -1 +1,2 @@
1
- export default function (): JSX.Element;
1
+ import React from 'react';
2
+ export default function (): React.JSX.Element;