@icos-desktop/react-components 0.1.16 → 0.1.19

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/build/index.d.ts CHANGED
@@ -7,7 +7,7 @@ interface EntityDetailProps {
7
7
 
8
8
  declare const EntityDetail: React.FC<EntityDetailProps>;
9
9
 
10
- interface API$2 {
10
+ interface API$3 {
11
11
  getSenseFormData: string;
12
12
  }
13
13
 
@@ -15,7 +15,7 @@ interface EntityInfoProps {
15
15
  /**
16
16
  * API
17
17
  */
18
- api?: API$2;
18
+ api?: API$3;
19
19
  /**
20
20
  * 实体编码
21
21
  */
@@ -30,7 +30,7 @@ interface EntitySearchProps {
30
30
 
31
31
  declare const EntitySearch: React.FC<EntitySearchProps>;
32
32
 
33
- interface API$1 {
33
+ interface API$2 {
34
34
  getSensePage: string;
35
35
  }
36
36
 
@@ -38,7 +38,7 @@ interface EntityTableProps {
38
38
  /**
39
39
  * API
40
40
  */
41
- api?: API$1;
41
+ api?: API$2;
42
42
  /**
43
43
  * 台账 id 列表
44
44
  */
@@ -97,6 +97,27 @@ interface EntityTreeProps {
97
97
 
98
98
  declare const EntityTree: React.FC<EntityTreeProps>;
99
99
 
100
+ interface API$1 {
101
+ queryBuildingGeneralInfo: string;
102
+ }
103
+
104
+ type Sense = {
105
+ regionName: string;
106
+ houseName: string;
107
+ code: string;
108
+ };
109
+ interface RegionDetailProps {
110
+ api?: API$1;
111
+ sense: Sense;
112
+ peopleData?: {
113
+ name: string;
114
+ value: string | number;
115
+ }[];
116
+ handleHouse?: (id: string) => void;
117
+ }
118
+
119
+ declare const RegionDetail: React.FC<RegionDetailProps>;
120
+
100
121
  interface API {
101
122
  getEntitySenseTree: string;
102
123
  }
@@ -179,4 +200,4 @@ interface Config {
179
200
  }
180
201
  declare const configFn: (config: Config) => void;
181
202
 
182
- export { EntityDetail, EntityInfo, EntitySearch, EntityTable, EntityTree, RegionTree, VideoControl, VideoPlayer, configFn as config };
203
+ export { EntityDetail, EntityInfo, EntitySearch, EntityTable, EntityTree, RegionDetail, RegionTree, VideoControl, VideoPlayer, configFn as config };