qlqz-frame 0.1.2 → 0.1.4

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/dist/index.d.ts CHANGED
@@ -10,7 +10,8 @@ import {
10
10
  } from './types/request';
11
11
  import { ITableDataPayload } from './types/data-lake';
12
12
  import { IconSelectorInputProps } from './types/components';
13
-
13
+ import { MapProps, IOneMapApp } from './types/onemap';
14
+ import * as maptalks from 'maptalks';
14
15
  import { AxiosInstance, AxiosResponse } from 'axios';
15
16
 
16
17
  declare module 'qlqz-frame' {
@@ -113,5 +114,16 @@ declare module 'qlqz-frame' {
113
114
  export const getGeoJson;
114
115
  export const getXml;
115
116
 
117
+ export const OneMap: {
118
+ MtkMap: React.FC<MapProps>;
119
+ withOneMap: React.FC<any>;
120
+ useOneMap: () => IOneMapApp;
121
+ createToolTip: (title: string) => maptalks.ui.ToolTip;
122
+ };
123
+
124
+ export const MtkMap: React.FC<MapProps>;
125
+ export const withOneMap: React.FC<any>;
126
+ export const useOneMap: () => IOneMapApp;
127
+
116
128
  export { IColumnMeta, IColumn, IResponse, IListData, IListResponseData, IconSelectorInputProps };
117
129
  }