@mxmweb/xviewer 1.1.32 → 1.1.35

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "style": "assets/style.css",
6
6
  "types": "lib_enter.d.ts",
7
7
  "private": false,
8
- "version": "1.1.32",
8
+ "version": "1.1.35",
9
9
  "author": "hanfeng_Zhang",
10
10
  "type": "module",
11
11
  "peerDependencies": {
@@ -0,0 +1,29 @@
1
+ declare enum OPT_BTN {
2
+ DATE = 0,
3
+ VIEW = 1,
4
+ ERROR = 2,
5
+ AUTHORIZE = 3,
6
+ DELETE = 4,
7
+ ANALYSIS_OR_EXTRACT = 5,
8
+ DOWNLOAD = 6,
9
+ EDIT = 7,
10
+ ADD = 8,
11
+ ANALYSIS_CONFIG = 9,
12
+ AUTHORIZE_CONFIG = 10
13
+ }
14
+ declare enum DescStatus {
15
+ GENERATING = "generating",
16
+ SUCCESS = "success",
17
+ FAIL = "fail"
18
+ }
19
+ declare const StatusComponent: (props: any) => import("react/jsx-runtime").JSX.Element;
20
+ declare const statusArr: {
21
+ statusType: string;
22
+ value: string;
23
+ status: string;
24
+ }[];
25
+ declare const TableMetaDescriptionCom: (info: any) => import("react/jsx-runtime").JSX.Element | "-";
26
+ declare const EmptyData: React.FC<{
27
+ dbType: 'DataTable' | 'DirectDB';
28
+ }>;
29
+ export { StatusComponent, TableMetaDescriptionCom, statusArr, EmptyData, OPT_BTN, DescStatus };
@@ -1,19 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { Styles } from '@mxmweb/zui';
3
3
  import { CustomComponents } from '../../core/types';
4
- declare enum OPT_BTN {
5
- DATE = 0,
6
- VIEW = 1,
7
- ERROR = 2,
8
- AUTHORIZE = 3,
9
- DELETE = 4,
10
- ANALYSIS_OR_EXTRACT = 5,
11
- DOWNLOAD = 6,
12
- EDIT = 7,
13
- ADD = 8,
14
- ANALYSIS_CONFIG = 9,
15
- AUTHORIZE_CONFIG = 10
16
- }
4
+ import { OPT_BTN } from './CustomCom';
17
5
  interface DatabaseViewAdopterProps {
18
6
  url?: string;
19
7
  token?: string;
package/src/index.d.ts CHANGED
@@ -3,4 +3,5 @@ import { default as DatabaseTableView } from './adopters/DatabaseTableView';
3
3
  import { default as DatabaseView } from './adopters/DatabaseView';
4
4
  import { default as SensitivityView } from './adopters/SensitiveView';
5
5
  import { default as ModelManageView } from './adopters/ModelManageView';
6
- export { DatabaseIdView, DatabaseTableView, DatabaseView, SensitivityView, ModelManageView };
6
+ import { default as FormXviwer } from './core/DynamicForm';
7
+ export { DatabaseIdView, DatabaseTableView, DatabaseView, SensitivityView, ModelManageView, FormXviwer, };