@infinilabs/ui-web-cli 0.0.1 → 0.0.2

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 (3) hide show
  1. package/README.md +57 -1
  2. package/dist/webCli.js +72895 -28941
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,2 +1,58 @@
1
- # ui-web-cli
1
+ <h1 align="center">UI-WEB-CLI</h1>
2
2
 
3
+ English | [简体中文](./README-zh_CN.md)
4
+
5
+ Customized WEB-CLI component
6
+
7
+ ## Screenshot
8
+
9
+ ## Install
10
+
11
+ ```
12
+ npm i @infinilabs/ui-web-cli
13
+
14
+ # or
15
+ cnpm i @infinilabs/ui-web-cli
16
+
17
+ # or
18
+ yarn add @infinilabs/ui-web-cli
19
+
20
+ # or
21
+ pnpm add @infinilabs/ui-web-cli
22
+ ```
23
+
24
+ ## Usage
25
+
26
+ ```jsx
27
+ // ...
28
+ import ConsoleUI from "@infinilabs/ui-web-cli";
29
+ //...
30
+
31
+ //...
32
+ return (
33
+ <ConsoleUI
34
+ {...props}
35
+ visible={false}
36
+ minimize={true}
37
+ resizeable={true}
38
+ DataSourceSelector={ClusterSelect}
39
+ newTabClick={newTabClick}
40
+ renderTabBarItemIcon={(props) => {
41
+ return (
42
+ <SearchEngineIcon
43
+ distribution={props.cluster.distribution}
44
+ width="14px"
45
+ height="14px"
46
+ />
47
+ );
48
+ }}
49
+ tabData={localState}
50
+ addTab={addTab}
51
+ updateTableData={updateTableData}
52
+ sendRequestToES={sendRequestToES}
53
+ />
54
+ );
55
+ //...
56
+ ```
57
+
58
+ ## Props