@bit-sun/business-component 2.3.26 → 2.3.28

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.
Files changed (49) hide show
  1. package/dist/components/Business/AddSelectBusiness/index.d.ts +4 -3
  2. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +2 -1
  3. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  4. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  5. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +2 -1
  6. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +2 -1
  7. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +2 -1
  8. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +2 -1
  9. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  10. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  11. package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -1
  12. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +5 -5
  13. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -13
  14. package/dist/components/Business/CommodityEntry/index.d.ts +2 -1
  15. package/dist/components/Business/CommonAlert/index.d.ts +2 -1
  16. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  17. package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -5
  18. package/dist/components/Business/HomePageWrapper/index.d.ts +2 -1
  19. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -1
  20. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -1
  21. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +2 -1
  22. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -1
  23. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -1
  24. package/dist/components/Business/JsonQueryTable/static.d.ts +1 -0
  25. package/dist/components/Business/StateFlow/index.d.ts +2 -1
  26. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  27. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +5 -5
  28. package/dist/components/Business/columnSettingTable/index.d.ts +2 -2
  29. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +2 -2
  30. package/dist/components/Business/columnSettingTable/utils.d.ts +2 -1
  31. package/dist/components/Functional/AddSelect/index.d.ts +2 -1
  32. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  33. package/dist/components/Functional/DataValidation/index.d.ts +3 -3
  34. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +2 -1
  35. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  36. package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -1
  37. package/dist/components/Solution/RuleComponent/Formula.d.ts +2 -1
  38. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +2 -1
  39. package/dist/index.esm.js +245 -12
  40. package/dist/index.js +245 -12
  41. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  42. package/package.json +1 -1
  43. package/src/components/Business/JsonQueryTable/static.ts +19 -0
  44. package/src/components/Business/SearchSelect/BusinessUtils.ts +74 -0
  45. package/src/components/Business/SearchSelect/index.md +57 -0
  46. package/src/components/Business/SearchSelect/utils.ts +1 -1
  47. package/src/components/Solution/RuleComponent/index.js +36 -4
  48. package/src/components/Solution/RuleComponent/ruleFiled.js +111 -6
  49. package/src/components/Solution/RuleComponent/util.js +4 -0
@@ -1,3 +1,4 @@
1
- export declare const AddSkuSelect: (parProps: any) => JSX.Element;
2
- export declare const AddSkcSelect: (parProps: any) => JSX.Element;
3
- export declare const AddSpuSelect: (parProps: any) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const AddSkuSelect: (parProps: any) => React.JSX.Element;
3
+ export declare const AddSkcSelect: (parProps: any) => React.JSX.Element;
4
+ export declare const AddSpuSelect: (parProps: any) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  export type SiderTheme = 'light' | 'dark';
3
- declare const DrawContent: ({ onClose, itemPath }: any) => JSX.Element;
4
+ declare const DrawContent: ({ onClose, itemPath }: any) => React.JSX.Element;
4
5
  export default DrawContent;
@@ -12,6 +12,6 @@ declare class LeftTree extends React.Component<any> {
12
12
  onChange: (e: any) => void;
13
13
  getPathList: (originData: any) => Array<any>;
14
14
  handleAdd2Menu: (path: string) => void;
15
- render(): JSX.Element;
15
+ render(): React.JSX.Element;
16
16
  }
17
17
  export default LeftTree;
@@ -24,7 +24,7 @@ declare class rightTree extends React.Component<any> {
24
24
  handleBatchDelete: () => void;
25
25
  handleAddTreeNode: (e: any, item: any) => void;
26
26
  onCheck: (checkedKeysValue: React.Key[]) => void;
27
- getChildMenu: (item: any) => JSX.Element;
28
- render(): JSX.Element;
27
+ getChildMenu: (item: any) => React.JSX.Element;
28
+ render(): React.JSX.Element;
29
29
  }
30
30
  export default rightTree;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './drawContent.less';
2
- declare const DrawContent: ({ onClose, originRoutes, itemPath }: any) => JSX.Element;
3
+ declare const DrawContent: ({ onClose, originRoutes, itemPath }: any) => React.JSX.Element;
3
4
  export default DrawContent;
@@ -1,2 +1,3 @@
1
- declare const CustomerMenuHeader: ({ collapsed, handleClose, originRoutes, itemPath }: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const CustomerMenuHeader: ({ collapsed, handleClose, originRoutes, itemPath }: any) => React.JSX.Element;
2
3
  export default CustomerMenuHeader;
@@ -1,4 +1,5 @@
1
+ import React from "react";
1
2
  import './index.less';
2
3
  export declare const judgeIsEmpty: (value: any) => boolean;
3
- declare const GlobalHeaderCom: (props: any) => JSX.Element;
4
+ declare const GlobalHeaderCom: (props: any) => React.JSX.Element;
4
5
  export default GlobalHeaderCom;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -14,5 +14,5 @@ export type BasicLayoutContext = {
14
14
  } & {
15
15
  breadcrumbNameMap: Record<string, MenuDataItem>;
16
16
  };
17
- declare const _default: (props: any) => JSX.Element;
17
+ declare const _default: (props: any) => React.JSX.Element;
18
18
  export default _default;
@@ -26,14 +26,14 @@ declare class SearchItemTable extends React.Component {
26
26
  } | {
27
27
  title: string;
28
28
  dataIndex: string;
29
- render: (text: any, record: any) => JSX.Element;
29
+ render: (text: any, record: any) => React.JSX.Element;
30
30
  className?: undefined;
31
31
  width?: undefined;
32
32
  } | {
33
33
  title: string;
34
34
  dataIndex: string;
35
35
  className: string;
36
- render: () => JSX.Element;
36
+ render: () => React.JSX.Element;
37
37
  width?: undefined;
38
38
  })[];
39
39
  showModal: () => void;
@@ -44,17 +44,17 @@ declare class SearchItemTable extends React.Component {
44
44
  oldIndex: any;
45
45
  newIndex: any;
46
46
  }) => void;
47
- DraggableContainer: (props: any) => JSX.Element;
47
+ DraggableContainer: (props: any) => React.JSX.Element;
48
48
  DraggableBodyRow: ({ className, style, ...restProps }: {
49
49
  [x: string]: any;
50
50
  className: any;
51
51
  style: any;
52
- }) => JSX.Element;
52
+ }) => React.JSX.Element;
53
53
  onChange: (e: CheckboxChangeEvent, label: any) => void;
54
54
  handleReset: () => void;
55
55
  handleResetSetting: () => void;
56
56
  onSearch: (e: any) => void;
57
57
  onSearchSort: (e: any) => void;
58
- render(): JSX.Element;
58
+ render(): React.JSX.Element;
59
59
  }
60
60
  export default SearchItemTable;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -26,14 +26,14 @@ declare class SortableTable extends React.Component {
26
26
  } | {
27
27
  title: string;
28
28
  dataIndex: string;
29
- render: (text: any, record: any) => JSX.Element;
29
+ render: (text: any, record: any) => React.JSX.Element;
30
30
  className?: undefined;
31
31
  width?: undefined;
32
32
  } | {
33
33
  title: string;
34
34
  dataIndex: string;
35
35
  className: string;
36
- render: () => JSX.Element;
36
+ render: () => React.JSX.Element;
37
37
  width?: undefined;
38
38
  })[];
39
39
  showModal: () => void;
@@ -44,17 +44,17 @@ declare class SortableTable extends React.Component {
44
44
  oldIndex: any;
45
45
  newIndex: any;
46
46
  }) => void;
47
- DraggableContainer: (props: any) => JSX.Element;
47
+ DraggableContainer: (props: any) => React.JSX.Element;
48
48
  DraggableBodyRow: ({ className, style, ...restProps }: {
49
49
  [x: string]: any;
50
50
  className: any;
51
51
  style: any;
52
- }) => JSX.Element;
52
+ }) => React.JSX.Element;
53
53
  onChange: (e: CheckboxChangeEvent, title: any) => void;
54
54
  handleReset: () => void;
55
55
  handleResetSetting: () => void;
56
56
  onSearch: (e: any) => void;
57
57
  onSearchSort: (e: any) => void;
58
- render(): JSX.Element;
58
+ render(): React.JSX.Element;
59
59
  }
60
60
  export default SortableTable;
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import moment from 'moment';
2
3
  import './utils.less';
3
- export declare const handleStatusBadge: (text: any, color: any) => JSX.Element;
4
- export declare const HandleTotalCount: (totalParams: any) => JSX.Element;
4
+ export declare const handleStatusBadge: (text: any, color: any) => React.JSX.Element;
5
+ export declare const HandleTotalCount: (totalParams: any) => React.JSX.Element;
5
6
  export declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) => {
6
7
  type: string;
7
8
  width: number;
@@ -41,17 +42,17 @@ export declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) =
41
42
  };
42
43
  export declare const renderZeroInSummary: (value: any) => number | "- -";
43
44
  export declare const calculateValidPeriod: (start: any, end: any) => string;
44
- export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
45
- export declare const handleTextLineFeed: (text: string | undefined, width?: number) => JSX.Element;
46
- export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
47
- export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
48
- export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
45
+ export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => React.JSX.Element;
46
+ export declare const handleTextLineFeed: (text: string | undefined, width?: number) => React.JSX.Element;
47
+ export declare const handleTextOverflow: (text: string | undefined, width?: number) => React.JSX.Element;
48
+ export declare const handleTooltip: (text: any, timeTrue?: boolean) => React.JSX.Element;
49
+ export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => React.JSX.Element;
49
50
  type tableColumnsImageType = {
50
51
  width?: number | string;
51
52
  height?: number | string;
52
53
  [key: string]: any;
53
54
  };
54
- export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
55
+ export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => React.JSX.Element;
55
56
  type UserColumnsType = {
56
57
  name: string;
57
58
  department?: string;
@@ -59,8 +60,8 @@ type UserColumnsType = {
59
60
  company?: string;
60
61
  avatar?: string;
61
62
  };
62
- export declare const userColumns: (props: UserColumnsType) => JSX.Element;
63
- export declare const userInfoCard: (props: any) => JSX.Element;
63
+ export declare const userColumns: (props: UserColumnsType) => React.JSX.Element;
64
+ export declare const userInfoCard: (props: any) => React.JSX.Element;
64
65
  export declare function handleCommonTimeRenderHours(text: any, format?: any): any;
65
66
  export declare function handleCommonTimeRender(text: any, format?: any): any;
66
67
  interface ColumnsEditInterfave {
@@ -78,9 +79,9 @@ interface ColumnsEditInterfave {
78
79
  };
79
80
  [key: string]: any;
80
81
  }
81
- export declare const ColumnsEdit: (props: ColumnsEditInterfave) => JSX.Element;
82
- export declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
83
- export declare const textIcon: (type: string | number, text?: string) => JSX.Element | undefined;
82
+ export declare const ColumnsEdit: (props: ColumnsEditInterfave) => React.JSX.Element;
83
+ export declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) => React.JSX.Element;
84
+ export declare const textIcon: (type: string | number, text?: string) => React.JSX.Element | undefined;
84
85
  export declare const renderFixed2: (text: any) => any;
85
86
  export declare const getItemDefaultWidth: (item: any) => number;
86
87
  /**
@@ -1,2 +1,3 @@
1
- declare const CommodityEntry: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const CommodityEntry: (props: any) => React.JSX.Element;
2
3
  export default CommodityEntry;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
+ declare const _default: (props: any) => React.JSX.Element;
3
4
  export default _default;
@@ -1,6 +1,6 @@
1
- import { Component } from "react";
1
+ import React, { Component } from "react";
2
2
  import './index.less';
3
3
  export default class GuideWrapper extends Component {
4
- static Field: ({ children, ...props }: any) => JSX.Element;
5
- render(): JSX.Element;
4
+ static Field: ({ children, ...props }: any) => React.JSX.Element;
5
+ render(): React.JSX.Element;
6
6
  }
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  export declare const iconMap: {
3
- edit: JSX.Element;
4
- delete: JSX.Element;
5
- submit: JSX.Element;
6
- more: JSX.Element;
4
+ edit: React.JSX.Element;
5
+ delete: React.JSX.Element;
6
+ submit: React.JSX.Element;
7
+ more: React.JSX.Element;
7
8
  };
8
- declare const _default: (props: any) => JSX.Element;
9
+ declare const _default: (props: any) => React.JSX.Element;
9
10
  export default _default;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
+ declare const _default: (props: any) => React.JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const FieldsModifyModal: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const FieldsModifyModal: (props: any) => React.JSX.Element;
2
3
  export default FieldsModifyModal;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  declare const App: ({ record, setValue, formula }: {
2
3
  record: any;
3
4
  setValue: any;
4
5
  formula: any;
5
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
6
7
  export default App;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -33,6 +33,7 @@ export declare const choiceType: Readonly<{
33
33
  330: "变量";
34
34
  340: "规则模板选择器";
35
35
  350: "营销区域选择器";
36
+ 360: "角色选择器";
36
37
  }>;
37
38
  export declare const inputType: any;
38
39
  export declare const valueType: any;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
+ declare const _default: (props: any) => React.JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
2
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
3
3
  export default _default;
@@ -27,14 +27,14 @@ declare class SortableTable extends React.Component<SortTableProps> {
27
27
  } | {
28
28
  title: string;
29
29
  dataIndex: string;
30
- render: (text: any, record: any) => JSX.Element;
30
+ render: (text: any, record: any) => React.JSX.Element;
31
31
  className?: undefined;
32
32
  width?: undefined;
33
33
  } | {
34
34
  title: string;
35
35
  dataIndex: string;
36
36
  className: string;
37
- render: () => JSX.Element;
37
+ render: () => React.JSX.Element;
38
38
  width?: undefined;
39
39
  })[];
40
40
  showModal: () => void;
@@ -42,13 +42,13 @@ declare class SortableTable extends React.Component<SortTableProps> {
42
42
  handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
43
43
  handleTableHeadHidden: (title: string) => void;
44
44
  onSortEnd: ({ oldIndex, newIndex }: any) => void;
45
- DraggableContainer: (props: any) => JSX.Element;
46
- DraggableBodyRow: ({ className, style, ...restProps }: any) => JSX.Element;
45
+ DraggableContainer: (props: any) => React.JSX.Element;
46
+ DraggableBodyRow: ({ className, style, ...restProps }: any) => React.JSX.Element;
47
47
  onChange: (e: any, title: any) => void;
48
48
  handleReset: () => void;
49
49
  onSearch: (e: any) => void;
50
50
  onSearchSort: (e: any) => void;
51
51
  getConfigFromlocalstorage: () => any;
52
- render(): JSX.Element;
52
+ render(): React.JSX.Element;
53
53
  }
54
54
  export default SortableTable;
@@ -10,7 +10,7 @@ export default class ColumnSettingTable extends React.Component {
10
10
  getTableSummaryInfo: () => () => any;
11
11
  handledynamicColumns: (col: any[]) => any[];
12
12
  handleResize: (index: any) => (_: any, { size }: any) => void;
13
- ResizeableTitle: (props: any) => JSX.Element;
13
+ ResizeableTitle: (props: any) => React.JSX.Element;
14
14
  getTableScrollXWidth: (cols: any[]) => any;
15
- render(): JSX.Element;
15
+ render(): React.JSX.Element;
16
16
  }
@@ -11,7 +11,7 @@ export default class ColumnSettingSulaTable extends React.Component {
11
11
  getTableSummaryInfo: () => () => any;
12
12
  handledynamicColumns: (col: any[]) => any[];
13
13
  handleResize: (index: any) => (_: any, { size }: any) => void;
14
- ResizeableTitle: (props: any) => JSX.Element;
14
+ ResizeableTitle: (props: any) => React.JSX.Element;
15
15
  getTableScrollXWidth: (cols: any[]) => any;
16
- render(): JSX.Element;
16
+ render(): React.JSX.Element;
17
17
  }
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * 非空数组
3
4
  * @param arr 要判断的数据
@@ -5,4 +6,4 @@
5
6
  */
6
7
  export declare const noEmptyArray: (arr: any[]) => boolean;
7
8
  export declare const getItemDefaultWidth: (item: any) => number;
8
- export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
9
+ export declare const handleTextOverflow: (text: string | undefined, width?: number) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
- declare const AddSelect: (props: any) => JSX.Element;
3
+ declare const AddSelect: (props: any) => React.JSX.Element;
3
4
  export default AddSelect;
@@ -137,8 +137,8 @@ declare class DataImport extends React.Component {
137
137
  toggleData: () => void;
138
138
  onChange: (e: any) => void;
139
139
  errorChange: (e: any) => void;
140
- menuList: JSX.Element;
141
- leftMenu: JSX.Element;
142
- render(): JSX.Element;
140
+ menuList: React.JSX.Element;
141
+ leftMenu: React.JSX.Element;
142
+ render(): React.JSX.Element;
143
143
  }
144
144
  export default DataImport;
@@ -137,8 +137,8 @@ declare class DataValidation extends React.Component {
137
137
  toggleData: () => void;
138
138
  onChange: (e: any) => void;
139
139
  errorChange: (e: any) => void;
140
- menuList: JSX.Element;
141
- leftMenu: JSX.Element;
142
- render(): JSX.Element;
140
+ menuList: React.JSX.Element;
141
+ leftMenu: React.JSX.Element;
142
+ render(): React.JSX.Element;
143
143
  }
144
144
  export default DataValidation;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface exportIconType {
2
3
  /** others选填,使用axios发请求,*/
3
4
  request: {
@@ -8,5 +9,5 @@ interface exportIconType {
8
9
  /** BsSulaQueryTable的tableRef*/
9
10
  tableRef: any;
10
11
  }
11
- declare const ExportIcon: ({ request, tableRef }: exportIconType) => JSX.Element;
12
+ declare const ExportIcon: ({ request, tableRef }: exportIconType) => React.JSX.Element;
12
13
  export default ExportIcon;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  declare const QueryMutipleInput: ({ onValueChange }: {
3
4
  onValueChange: any;
4
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
5
6
  export default QueryMutipleInput;
@@ -1,2 +1,3 @@
1
- declare const TreeSearchSelect: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const TreeSearchSelect: (props: any) => React.JSX.Element;
2
3
  export default TreeSearchSelect;
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  declare const App: ({ setValue, formula, record, sourceData, disabled }: {
2
3
  setValue: any;
3
4
  record: any;
4
5
  sourceData: any;
5
6
  formula?: any;
6
7
  disabled?: boolean | undefined;
7
- }) => JSX.Element;
8
+ }) => React.JSX.Element;
8
9
  export default App;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface Iprops {
2
3
  disabled: boolean;
3
4
  inputType: number;
@@ -7,5 +8,5 @@ interface Iprops {
7
8
  onChange: any;
8
9
  dictionaryCode?: string;
9
10
  }
10
- declare const _default: (props: Iprops) => JSX.Element;
11
+ declare const _default: (props: Iprops) => React.JSX.Element;
11
12
  export default _default;