qlqz-frame 0.2.19 → 0.2.21
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 +180 -159
- package/dist/index.es.js +10265 -0
- package/dist/index.umd.js +113 -3761
- package/dist/types/data-lake.ts +8 -0
- package/dist/types/index.ts +11 -0
- package/dist/types/request.ts +77 -0
- package/package.json +33 -160
- package/LICENSE +0 -21
- package/dist/index.css +0 -1
- package/dist/index.mjs +0 -80947
- package/readme.md +0 -13
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export enum EColumnType {
|
|
2
|
+
file = 'file',
|
|
3
|
+
int = 'int',
|
|
4
|
+
number = 'number',
|
|
5
|
+
longitude = 'longitude',
|
|
6
|
+
latitude = 'latitude',
|
|
7
|
+
word = 'word',
|
|
8
|
+
string = 'string',
|
|
9
|
+
text = 'text',
|
|
10
|
+
timestamp = 'timestamp',
|
|
11
|
+
jsonb = 'jsonb',
|
|
12
|
+
date = 'date',
|
|
13
|
+
time = 'time',
|
|
14
|
+
geoJsonString = 'geoJsonString',
|
|
15
|
+
singleDict = 'singleDict',
|
|
16
|
+
multiDict = 'multiDict',
|
|
17
|
+
photo = 'photo',
|
|
18
|
+
boolean = 'boolean',
|
|
19
|
+
switch = 'switch',
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface IColumnMeta {
|
|
23
|
+
character_maximum_length?: number;
|
|
24
|
+
ordinal_position: number;
|
|
25
|
+
is_nullable: string;
|
|
26
|
+
table_schema: string;
|
|
27
|
+
column_name: string;
|
|
28
|
+
data_type: string;
|
|
29
|
+
numeric_precision?: number;
|
|
30
|
+
description: string;
|
|
31
|
+
numeric_scale?: number;
|
|
32
|
+
table_name: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IColumn {
|
|
36
|
+
is_nullable: boolean;
|
|
37
|
+
table_schema: string;
|
|
38
|
+
column_name: string;
|
|
39
|
+
data_type: string;
|
|
40
|
+
description: string;
|
|
41
|
+
show: boolean;
|
|
42
|
+
columnType?: EColumnType;
|
|
43
|
+
editable?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface IResponse<IResponseData> {
|
|
47
|
+
success?: string;
|
|
48
|
+
code?: number;
|
|
49
|
+
msg?: string;
|
|
50
|
+
respCode: number;
|
|
51
|
+
data: IResponseData;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface IListData<T> {
|
|
55
|
+
total: number;
|
|
56
|
+
list: T[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface IListResponseData<T> {
|
|
60
|
+
current: number;
|
|
61
|
+
size: number;
|
|
62
|
+
pages: number;
|
|
63
|
+
total: number;
|
|
64
|
+
respCode: number;
|
|
65
|
+
records: T[];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface IListResponseSystem<T> {
|
|
69
|
+
data: {
|
|
70
|
+
total: number;
|
|
71
|
+
list: T[];
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface IParam extends Object {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
}
|
package/package.json
CHANGED
|
@@ -1,160 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "qlqz-frame",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"author": "leecheck qlqz-studio",
|
|
6
|
-
"main": "dist/index.umd.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"description": "Framework Lib",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist/
|
|
11
|
-
"dist/index.d.ts",
|
|
12
|
-
"dist/index.
|
|
13
|
-
"dist/index.umd.js"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"@react-login-page/page7": "0.4.16",
|
|
35
|
-
"@sakitam-gis/maptalks-wind": "1.1.2",
|
|
36
|
-
"@tailwindcss/vite": "^4.0.12",
|
|
37
|
-
"@terraformer/wkt": "2.2.1",
|
|
38
|
-
"@tinymce/tinymce-react": "5.1.1",
|
|
39
|
-
"@turf/turf": "6.5.0",
|
|
40
|
-
"@types/lodash": "^4.14.61",
|
|
41
|
-
"@types/maptalks": "^0.49.2",
|
|
42
|
-
"@vitejs/plugin-react": "2.1.0",
|
|
43
|
-
"@wangeditor/editor": "5.1.23",
|
|
44
|
-
"@wangeditor/editor-for-react": "1.0.6",
|
|
45
|
-
"@xyflow/react": "12.9.0",
|
|
46
|
-
"ahooks": "3.3.10",
|
|
47
|
-
"antd": "^4.23.2",
|
|
48
|
-
"array-move": "4.0.0",
|
|
49
|
-
"autoprefixer": "^10.2.4",
|
|
50
|
-
"axios": "^0.21.0",
|
|
51
|
-
"cesium-plugins-draw": "1.2.8",
|
|
52
|
-
"class-variance-authority": "0.7.1",
|
|
53
|
-
"classnames": "^2.2.6",
|
|
54
|
-
"clsx": "2.1.1",
|
|
55
|
-
"cropperjs": "^1.5.3",
|
|
56
|
-
"cross-env": "7.0.3",
|
|
57
|
-
"driver.js": "^0.9.8",
|
|
58
|
-
"echarts": "5.4.0",
|
|
59
|
-
"echarts-for-react": "3.0.2",
|
|
60
|
-
"echarts-liquidfill": "3.1.0",
|
|
61
|
-
"events": "3.3.0",
|
|
62
|
-
"ezuikit-js": "8.0.11",
|
|
63
|
-
"file-saver": "2.0.5",
|
|
64
|
-
"gcoord": "1.0.7",
|
|
65
|
-
"github-markdown-css": "5.1.0",
|
|
66
|
-
"history": "^5.0.0",
|
|
67
|
-
"jszip": "3.10.1",
|
|
68
|
-
"kdbush": "4.0.2",
|
|
69
|
-
"lodash": "4.17.21",
|
|
70
|
-
"lucide-react": "0.553.0",
|
|
71
|
-
"mapshaper": "0.5.85",
|
|
72
|
-
"maptalks.tileclip": "0.61.1",
|
|
73
|
-
"mockjs": "^1.1.0",
|
|
74
|
-
"moment": "2.30.1",
|
|
75
|
-
"node-stdlib-browser": "1.2.0",
|
|
76
|
-
"particles-bg": "2.5.5",
|
|
77
|
-
"qs": "^6.9.6",
|
|
78
|
-
"ramda": "0.28.0",
|
|
79
|
-
"react": "^18.3.1",
|
|
80
|
-
"react-app-polyfill": "^1.0.4",
|
|
81
|
-
"react-captcha-code": "1.0.7",
|
|
82
|
-
"react-cropper": "^2.1.8",
|
|
83
|
-
"react-dev-utils": "^9.1.0",
|
|
84
|
-
"react-dom": "^18.3.1",
|
|
85
|
-
"react-draggable": "4.4.5",
|
|
86
|
-
"react-error-boundary": "^3.1.0",
|
|
87
|
-
"react-file-viewer": "1.2.1",
|
|
88
|
-
"react-helmet": "^5.2.1",
|
|
89
|
-
"react-intl": "^5.12.5",
|
|
90
|
-
"react-json-to-html": "0.0.6",
|
|
91
|
-
"react-login-page": "1.0.6",
|
|
92
|
-
"react-markdown": "8.0.3",
|
|
93
|
-
"react-marquee-slider": "1.1.5",
|
|
94
|
-
"react-query": "^3.9.9",
|
|
95
|
-
"react-router": "^6.2.2",
|
|
96
|
-
"react-router-dom": "^6.2.2",
|
|
97
|
-
"react-simple-animate": "3.5.2",
|
|
98
|
-
"react-simple-verify": "1.0.11",
|
|
99
|
-
"react-sortable-hoc": "2.0.0",
|
|
100
|
-
"react-syntax-highlighter": "15.5.0",
|
|
101
|
-
"react-transition-group": "^4.3.0",
|
|
102
|
-
"recoil": "^0.1.2",
|
|
103
|
-
"rehype-raw": "6.1.1",
|
|
104
|
-
"remark-gfm": "3.0.1",
|
|
105
|
-
"resium": "1.15.0",
|
|
106
|
-
"rollup-plugin-copy": "3.5.0",
|
|
107
|
-
"sass": "1.55.0",
|
|
108
|
-
"shpjs": "6.1.0",
|
|
109
|
-
"stringify": "^5.2.0",
|
|
110
|
-
"styled-components": "6.0.7",
|
|
111
|
-
"swiper": "8.3.2",
|
|
112
|
-
"tailwind-merge": "3.4.0",
|
|
113
|
-
"tailwindcss": "^4.0.12",
|
|
114
|
-
"terser": "5.19.2",
|
|
115
|
-
"three": "^0.110.0",
|
|
116
|
-
"three-css2drender": "^1.0.0",
|
|
117
|
-
"three-text2d": "0.6.0",
|
|
118
|
-
"tinymce": "7.5.1",
|
|
119
|
-
"todomvc-app-css": "^2.3.0",
|
|
120
|
-
"turf": "3.0.14",
|
|
121
|
-
"uuid": "9.0.0",
|
|
122
|
-
"web-vitals": "^0.2.4",
|
|
123
|
-
"xlsx": "0.18.5",
|
|
124
|
-
"xml2json-light": "1.0.6",
|
|
125
|
-
"zrender": "5.5.0",
|
|
126
|
-
"zustand": "5.0.6"
|
|
127
|
-
},
|
|
128
|
-
"devDependencies": {
|
|
129
|
-
"@types/classnames": "^2.2.9",
|
|
130
|
-
"@types/node": "^14.14.31",
|
|
131
|
-
"@types/qs": "^6.9.5",
|
|
132
|
-
"@types/react": "^17.0.0",
|
|
133
|
-
"@types/react-color": "^3.0.5",
|
|
134
|
-
"@types/react-dom": "^17.0.0",
|
|
135
|
-
"@types/react-helmet": "^5.0.14",
|
|
136
|
-
"@types/react-transition-group": "^4.2.3",
|
|
137
|
-
"@vitejs/plugin-react-refresh": "^1.1.0",
|
|
138
|
-
"babel-plugin-macros": "3.1.0",
|
|
139
|
-
"cypress": "^6.8.0",
|
|
140
|
-
"framer-motion": "^12.5.0",
|
|
141
|
-
"less": "^4.1.1",
|
|
142
|
-
"cesium": "1.96.0",
|
|
143
|
-
"maptalks": "1.6.1",
|
|
144
|
-
"maptalks-gl": "0.117.1",
|
|
145
|
-
"maptalks.heatmap": "0.6.1",
|
|
146
|
-
"maptalks.odline": "0.4.2",
|
|
147
|
-
"maptalks.three": "^0.36.1",
|
|
148
|
-
"maptalks.tileclusterlayer": "^0.0.10",
|
|
149
|
-
"tw-animate-css": "1.4.0",
|
|
150
|
-
"typescript": "^4.1.2",
|
|
151
|
-
"vite": "6.2.1",
|
|
152
|
-
"vite-aliases": "^0.11.8",
|
|
153
|
-
"vite-plugin-cesium": "1.2.23",
|
|
154
|
-
"vite-plugin-imp": "^2.4.0",
|
|
155
|
-
"vite-plugin-mock": "^3.0.2",
|
|
156
|
-
"vite-plugin-node-stdlib-browser": "0.2.1",
|
|
157
|
-
"vite-plugin-style-import": "^2.0.0",
|
|
158
|
-
"vite-plugin-svgr": "^4.3.0"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "qlqz-frame",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.2.21",
|
|
5
|
+
"author": "leecheck qlqz-studio",
|
|
6
|
+
"main": "dist/index.umd.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"description": "Framework Lib",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/types/*",
|
|
11
|
+
"dist/index.d.ts",
|
|
12
|
+
"dist/index.es.js",
|
|
13
|
+
"dist/index.umd.js"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "vite",
|
|
17
|
+
"build": "vite build",
|
|
18
|
+
"preview": "vite preview"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"axios": "^1.6.2",
|
|
22
|
+
"react": "^18.2.0",
|
|
23
|
+
"react-dom": "^18.2.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/react": "^18.2.37",
|
|
27
|
+
"@types/react-dom": "^18.2.15",
|
|
28
|
+
"@vitejs/plugin-react": "^4.2.0",
|
|
29
|
+
"rollup-plugin-copy": "3.5.0",
|
|
30
|
+
"typescript": "^5.2.2",
|
|
31
|
+
"vite": "^5.0.0"
|
|
32
|
+
}
|
|
33
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 ychengcloud
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/dist/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._addDevice_16agt_1{border-radius:4px;background:#20222980;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:10px}._addDevice_16agt_1 .pop-title{display:flex;color:#fff;font-family:PingFang SC;font-weight:500;font-size:18px;line-height:normal;text-align:left}._addDevice_16agt_1 .pop-centent{margin:10px 0 0}._addDevice_16agt_1 .edit-btn{width:100%;display:flex;justify-content:end}._addDevice_16agt_1 .edit-btn-absolute{position:absolute;right:0;bottom:58px}._addDevice_16agt_1 .pop-bottom{width:100%;display:flex;justify-content:end}._addDevice_16agt_1 .pop-bottom button{color:#fff;margin-left:10px}._dark-form_16agt_38 .ant-form-item-label>label{color:#ffffffd9}._dark-form_16agt_38 .ant-input,._dark-form_16agt_38 .ant-input-number{border:none;background-color:#165dff33}._dark-form_16agt_38 .ant-select-selector{border:none!important;background-color:#165dff33!important}._box-wrap_16agt_53{display:flex;justify-content:end}._box-wrap_16agt_53 button{margin-left:10px}._modal_11ti9_1 .ant-modal-header{background:#edf7ff}._modal_11ti9_1 ._radio_11ti9_4 .ant-radio-wrapper{color:#fff}._modal_11ti9_1 ._content_11ti9_7{height:224px;overflow-y:auto;overflow-x:hidden}._tableArea_1rary_1{height:100%;position:relative;background:#fff}._tableArea_1rary_1 ._tableFooter_1rary_6{position:absolute;bottom:0;width:100%;display:flex;align-items:center;justify-content:center}.lightd-number-roll{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.lightd-number-roll-animate{position:relative;display:inline-block;height:45px;overflow:hidden;font-size:36px;line-height:45px}.lightd-number-roll-animate-dom{position:relative;top:0;float:left;width:24px;text-align:center}.lightd-number-roll-animate-dom-del{width:20px}.lightd-number-roll-animate-dot{float:left;width:14px;font-size:30px;text-align:center}.lightd-number-roll-animate-dot span,.lightd-number-roll-animate-dom span{float:left;width:100%;height:45px;line-height:40px}._flex_1ea2g_1{display:flex;padding-left:16px;align-items:center}._flexSb_1ea2g_7{display:flex;justify-content:space-between}._loggo_1ea2g_12{top:17px;right:17px;position:relative;width:100px;height:30px;cursor:pointer}._trigger_1ea2g_21{font-size:22px}._tagsViewContainer_1ea2g_25{border-top:1px solid #e8e8e8;z-index:99;padding:0 16px 10px}._tagsHeight_1ea2g_31{height:40px}._tagsViewWrapper_1ea2g_35{display:flex;border-bottom:1px solid #e8e8e8}._tagsViewItem_1ea2g_40{position:relative;cursor:pointer;height:30px;margin:8px 2px 0 0;padding:0 22px 0 10px;line-height:28px;background:#fafafa;border:1px solid #e8e8e8;border-bottom:none;color:#000}._select_1ea2g_53{top:1px;color:#1890ff;border-color:#1890ff}._closeIcon_1ea2g_59{margin-left:10px;font-size:10px;position:absolute;right:10px;top:10px}._fixed_1ea2g_67{overflow:auto;height:100vh;position:fixed;left:0}
|