ronds-metadata 1.2.5 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ import _Input from "antd/es/input";
17
17
  /*
18
18
  * @Author: wangxian
19
19
  * @Date: 2021-09-18 14:15:04
20
- * @LastEditTime: 2023-02-23 16:30:57
20
+ * @LastEditTime: 2023-02-23 19:32:47
21
21
  */
22
22
  import React from 'react';
23
23
  import { UploadOutlined } from '@ant-design/icons';
@@ -135,11 +135,11 @@ function Index(props) {
135
135
  } : {}
136
136
  }, (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id),
137
137
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
138
- span: labelSpan,
138
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
139
139
  offset: 0
140
140
  } : undefined,
141
141
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
142
- span: 24 - labelSpan,
142
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
143
143
  offset: 0
144
144
  } : undefined,
145
145
  name: (extraInfo === null || extraInfo === void 0 ? void 0 : (_extraInfo$addonAfter5 = extraInfo.addonAfter) === null || _extraInfo$addonAfter5 === void 0 ? void 0 : _extraInfo$addonAfter5.key) ? [field === null || field === void 0 ? void 0 : field.name].concat(_toConsumableArray(name), ['value']) : [field === null || field === void 0 ? void 0 : field.name].concat(_toConsumableArray(name)),
@@ -166,11 +166,11 @@ function Index(props) {
166
166
  } : {}
167
167
  }, (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id),
168
168
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
169
- span: labelSpan,
169
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
170
170
  offset: 0
171
171
  } : undefined,
172
172
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
173
- span: 24 - labelSpan,
173
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
174
174
  offset: 0
175
175
  } : undefined,
176
176
  name: (extraInfo === null || extraInfo === void 0 ? void 0 : (_extraInfo$addonAfter6 = extraInfo.addonAfter) === null || _extraInfo$addonAfter6 === void 0 ? void 0 : _extraInfo$addonAfter6.key) ? [].concat(_toConsumableArray(name), ['value']) : name,
@@ -64,11 +64,11 @@ function Index(props) {
64
64
  } : {}
65
65
  }, (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id),
66
66
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
67
- span: labelSpan,
67
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
68
68
  offset: 0
69
69
  } : undefined,
70
70
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
71
- span: 24 - labelSpan,
71
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
72
72
  offset: 0
73
73
  } : undefined,
74
74
  rules: [{
@@ -265,11 +265,11 @@ function Index(props) {
265
265
  key: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.defaultValue,
266
266
  label: (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id,
267
267
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
268
- span: labelSpan,
268
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
269
269
  offset: 0
270
270
  } : undefined,
271
271
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
272
- span: 24 - labelSpan,
272
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
273
273
  offset: 0
274
274
  } : undefined,
275
275
  initialValue: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.defaultValue,
@@ -31,7 +31,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
31
31
  /*
32
32
  * @Author:wangxian
33
33
  * @Date: 2021-09-18 14:15:04
34
- * @LastEditTime: 2023-02-23 09:58:36
34
+ * @LastEditTime: 2023-02-23 19:34:06
35
35
  */
36
36
  import React from 'react';
37
37
  import { MetadataFormContext, MetadataRefContext } from '../interface';
@@ -459,11 +459,11 @@ function Index(props) {
459
459
  } : {}
460
460
  }, (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id),
461
461
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
462
- span: labelSpan,
462
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
463
463
  offset: 0
464
464
  } : undefined,
465
465
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
466
- span: 24 - labelSpan,
466
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
467
467
  offset: 0
468
468
  } : undefined,
469
469
  name: [field === null || field === void 0 ? void 0 : field.name].concat(_toConsumableArray(name)),
@@ -487,11 +487,11 @@ function Index(props) {
487
487
  } : {}
488
488
  }, (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id),
489
489
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
490
- span: labelSpan,
490
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
491
491
  offset: 0
492
492
  } : undefined,
493
493
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
494
- span: 24 - labelSpan,
494
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
495
495
  offset: 0
496
496
  } : undefined,
497
497
  name: name,
@@ -8,7 +8,7 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
8
8
  /*
9
9
  * @Author: wangxian
10
10
  * @Date: 2021-09-18 14:15:04
11
- * @LastEditTime: 2023-02-21 19:17:13
11
+ * @LastEditTime: 2023-02-23 19:34:31
12
12
  */
13
13
  import React from 'react';
14
14
  import { MetadataFormContext, MetadataRefContext } from '../interface';
@@ -70,11 +70,11 @@ function Index(props) {
70
70
  } : {}
71
71
  }, (extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id),
72
72
  labelCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
73
- span: labelSpan,
73
+ flex: "0 0 ".concat(labelSpan * 100 / 24, "%"),
74
74
  offset: 0
75
75
  } : undefined,
76
76
  wrapperCol: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? {
77
- span: 24 - labelSpan,
77
+ flex: "0 0 ".concat((24 - labelSpan) * 100 / 24, "%"),
78
78
  offset: 0
79
79
  } : undefined,
80
80
  key: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.defaultValue,
@@ -27,4 +27,9 @@
27
27
  background-color: var(--card-bg);
28
28
  z-index: 1000;
29
29
  }
30
+ /* .ant-col-2.7 {
31
+ display: block;
32
+ flex: 0 0 75%;
33
+ max-width: 75%;
34
+ } */
30
35
  }
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: "fa"; /* Project id 2247093 */
3
- src: url('iconfont.woff2?t=1677113748870') format('woff2'),
4
- url('iconfont.woff?t=1677113748870') format('woff'),
5
- url('iconfont.ttf?t=1677113748870') format('truetype');
3
+ src: url('iconfont.woff2?t=1677143238460') format('woff2'),
4
+ url('iconfont.woff?t=1677143238460') format('woff'),
5
+ url('iconfont.ttf?t=1677143238460') format('truetype');
6
6
  }
7
7
 
8
8
  .fa {
@@ -13,7 +13,7 @@
13
13
  -moz-osx-font-smoothing: grayscale;
14
14
  }
15
15
 
16
- .fa-Es:before {
16
+ .fa-elasticsearch:before {
17
17
  content: "\e6a1";
18
18
  }
19
19
 
@@ -0,0 +1,380 @@
1
+ {
2
+ "id": "2247093",
3
+ "name": "工业大数据",
4
+ "font_family": "fa",
5
+ "css_prefix_text": "fa-",
6
+ "description": "",
7
+ "glyphs": [
8
+ {
9
+ "icon_id": "13543355",
10
+ "name": "elasticsearch Elasticsearch",
11
+ "font_class": "elasticsearch",
12
+ "unicode": "e6a1",
13
+ "unicode_decimal": 59041
14
+ },
15
+ {
16
+ "icon_id": "490744",
17
+ "name": "transform",
18
+ "font_class": "transform",
19
+ "unicode": "ed70",
20
+ "unicode_decimal": 60784
21
+ },
22
+ {
23
+ "icon_id": "6151161",
24
+ "name": "info-circle-fill",
25
+ "font_class": "info",
26
+ "unicode": "e7dc",
27
+ "unicode_decimal": 59356
28
+ },
29
+ {
30
+ "icon_id": "6756289",
31
+ "name": "专家",
32
+ "font_class": "expert",
33
+ "unicode": "e60c",
34
+ "unicode_decimal": 58892
35
+ },
36
+ {
37
+ "icon_id": "9058121",
38
+ "name": "8_8人工智能",
39
+ "font_class": "ai1",
40
+ "unicode": "e60d",
41
+ "unicode_decimal": 58893
42
+ },
43
+ {
44
+ "icon_id": "25885522",
45
+ "name": "AI、智能大脑-08",
46
+ "font_class": "ai2",
47
+ "unicode": "e893",
48
+ "unicode_decimal": 59539
49
+ },
50
+ {
51
+ "icon_id": "4638874",
52
+ "name": "智能AI",
53
+ "font_class": "ai",
54
+ "unicode": "e887",
55
+ "unicode_decimal": 59527
56
+ },
57
+ {
58
+ "icon_id": "5928197",
59
+ "name": "信号",
60
+ "font_class": "signal",
61
+ "unicode": "ec4a",
62
+ "unicode_decimal": 60490
63
+ },
64
+ {
65
+ "icon_id": "12095328",
66
+ "name": "圆",
67
+ "font_class": "circle",
68
+ "unicode": "e660",
69
+ "unicode_decimal": 58976
70
+ },
71
+ {
72
+ "icon_id": "9839113",
73
+ "name": "资产扫描",
74
+ "font_class": "scan",
75
+ "unicode": "e6df",
76
+ "unicode_decimal": 59103
77
+ },
78
+ {
79
+ "icon_id": "703054",
80
+ "name": "language-python-text",
81
+ "font_class": "py",
82
+ "unicode": "e916",
83
+ "unicode_decimal": 59670
84
+ },
85
+ {
86
+ "icon_id": "7123309",
87
+ "name": "redis",
88
+ "font_class": "Redis",
89
+ "unicode": "e669",
90
+ "unicode_decimal": 58985
91
+ },
92
+ {
93
+ "icon_id": "1338316",
94
+ "name": "盒子",
95
+ "font_class": "hezi",
96
+ "unicode": "e60b",
97
+ "unicode_decimal": 58891
98
+ },
99
+ {
100
+ "icon_id": "1851186",
101
+ "name": "消息",
102
+ "font_class": "message",
103
+ "unicode": "e637",
104
+ "unicode_decimal": 58935
105
+ },
106
+ {
107
+ "icon_id": "8802625",
108
+ "name": "数据库2",
109
+ "font_class": "shujuku",
110
+ "unicode": "e645",
111
+ "unicode_decimal": 58949
112
+ },
113
+ {
114
+ "icon_id": "3582411",
115
+ "name": "沙漏",
116
+ "font_class": "hourglass",
117
+ "unicode": "e66b",
118
+ "unicode_decimal": 58987
119
+ },
120
+ {
121
+ "icon_id": "20183028",
122
+ "name": "bucket",
123
+ "font_class": "Bucket",
124
+ "unicode": "e8ce",
125
+ "unicode_decimal": 59598
126
+ },
127
+ {
128
+ "icon_id": "18005114",
129
+ "name": "dlf-数据湖构建",
130
+ "font_class": "RondsLake",
131
+ "unicode": "e8a2",
132
+ "unicode_decimal": 59554
133
+ },
134
+ {
135
+ "icon_id": "10937694",
136
+ "name": "分组",
137
+ "font_class": "Schema",
138
+ "unicode": "e62a",
139
+ "unicode_decimal": 58922
140
+ },
141
+ {
142
+ "icon_id": "1526261",
143
+ "name": "文件",
144
+ "font_class": "Minio",
145
+ "unicode": "e64e",
146
+ "unicode_decimal": 58958
147
+ },
148
+ {
149
+ "icon_id": "5886128",
150
+ "name": "颜色",
151
+ "font_class": "color",
152
+ "unicode": "e678",
153
+ "unicode_decimal": 59000
154
+ },
155
+ {
156
+ "icon_id": "9948899",
157
+ "name": "graph",
158
+ "font_class": "Neo4j",
159
+ "unicode": "e612",
160
+ "unicode_decimal": 58898
161
+ },
162
+ {
163
+ "icon_id": "11836501",
164
+ "name": "知识库",
165
+ "font_class": "knowledge",
166
+ "unicode": "e621",
167
+ "unicode_decimal": 58913
168
+ },
169
+ {
170
+ "icon_id": "1162764",
171
+ "name": "评价",
172
+ "font_class": "evaluate",
173
+ "unicode": "e608",
174
+ "unicode_decimal": 58888
175
+ },
176
+ {
177
+ "icon_id": "1444787",
178
+ "name": "json",
179
+ "font_class": "json1",
180
+ "unicode": "e7bd",
181
+ "unicode_decimal": 59325
182
+ },
183
+ {
184
+ "icon_id": "9589361",
185
+ "name": "统计结果",
186
+ "font_class": "result",
187
+ "unicode": "e64c",
188
+ "unicode_decimal": 58956
189
+ },
190
+ {
191
+ "icon_id": "19544305",
192
+ "name": "分析卡片",
193
+ "font_class": "analysis",
194
+ "unicode": "e72e",
195
+ "unicode_decimal": 59182
196
+ },
197
+ {
198
+ "icon_id": "11755927",
199
+ "name": "对",
200
+ "font_class": "select",
201
+ "unicode": "e701",
202
+ "unicode_decimal": 59137
203
+ },
204
+ {
205
+ "icon_id": "13303552",
206
+ "name": "http",
207
+ "font_class": "Http",
208
+ "unicode": "e668",
209
+ "unicode_decimal": 58984
210
+ },
211
+ {
212
+ "icon_id": "13752783",
213
+ "name": "问号",
214
+ "font_class": "question",
215
+ "unicode": "e60e",
216
+ "unicode_decimal": 58894
217
+ },
218
+ {
219
+ "icon_id": "8334931",
220
+ "name": "运维中心",
221
+ "font_class": "monitor",
222
+ "unicode": "e61f",
223
+ "unicode_decimal": 58911
224
+ },
225
+ {
226
+ "icon_id": "12268077",
227
+ "name": "算法包管理",
228
+ "font_class": "algorithm_lab",
229
+ "unicode": "e607",
230
+ "unicode_decimal": 58887
231
+ },
232
+ {
233
+ "icon_id": "13210919",
234
+ "name": "视觉计算处理器",
235
+ "font_class": "engine",
236
+ "unicode": "e610",
237
+ "unicode_decimal": 58896
238
+ },
239
+ {
240
+ "icon_id": "7674872",
241
+ "name": "用户",
242
+ "font_class": "user",
243
+ "unicode": "e713",
244
+ "unicode_decimal": 59155
245
+ },
246
+ {
247
+ "icon_id": "11688055",
248
+ "name": "退出登录",
249
+ "font_class": "logout",
250
+ "unicode": "e611",
251
+ "unicode_decimal": 58897
252
+ },
253
+ {
254
+ "icon_id": "14559270",
255
+ "name": "大屏展示",
256
+ "font_class": "screen",
257
+ "unicode": "e606",
258
+ "unicode_decimal": 58886
259
+ },
260
+ {
261
+ "icon_id": "14683074",
262
+ "name": "修改密码",
263
+ "font_class": "password",
264
+ "unicode": "e605",
265
+ "unicode_decimal": 58885
266
+ },
267
+ {
268
+ "icon_id": "344281",
269
+ "name": "消息通知",
270
+ "font_class": "news",
271
+ "unicode": "e638",
272
+ "unicode_decimal": 58936
273
+ },
274
+ {
275
+ "icon_id": "8094195",
276
+ "name": "记录",
277
+ "font_class": "record",
278
+ "unicode": "e648",
279
+ "unicode_decimal": 58952
280
+ },
281
+ {
282
+ "icon_id": "15946868",
283
+ "name": "首页",
284
+ "font_class": "home",
285
+ "unicode": "e609",
286
+ "unicode_decimal": 58889
287
+ },
288
+ {
289
+ "icon_id": "521045",
290
+ "name": "JSON格式化",
291
+ "font_class": "json",
292
+ "unicode": "e61a",
293
+ "unicode_decimal": 58906
294
+ },
295
+ {
296
+ "icon_id": "1308544",
297
+ "name": "754编辑器_代码",
298
+ "font_class": "code",
299
+ "unicode": "e654",
300
+ "unicode_decimal": 58964
301
+ },
302
+ {
303
+ "icon_id": "16092271",
304
+ "name": "流程图",
305
+ "font_class": "diagram",
306
+ "unicode": "e60a",
307
+ "unicode_decimal": 58890
308
+ },
309
+ {
310
+ "icon_id": "741054",
311
+ "name": "平台管理",
312
+ "font_class": "setting",
313
+ "unicode": "e84b",
314
+ "unicode_decimal": 59467
315
+ },
316
+ {
317
+ "icon_id": "1472570",
318
+ "name": "配置数据源",
319
+ "font_class": "datasource",
320
+ "unicode": "e62e",
321
+ "unicode_decimal": 58926
322
+ },
323
+ {
324
+ "icon_id": "5961310",
325
+ "name": "流计算",
326
+ "font_class": "stream",
327
+ "unicode": "ec56",
328
+ "unicode_decimal": 60502
329
+ },
330
+ {
331
+ "icon_id": "4772840",
332
+ "name": "数据接入—Kafka集群",
333
+ "font_class": "Kafka",
334
+ "unicode": "e64f",
335
+ "unicode_decimal": 58959
336
+ },
337
+ {
338
+ "icon_id": "7193673",
339
+ "name": "表单",
340
+ "font_class": "Table",
341
+ "unicode": "e72d",
342
+ "unicode_decimal": 59181
343
+ },
344
+ {
345
+ "icon_id": "7556314",
346
+ "name": "Postgresql",
347
+ "font_class": "PostgreSql",
348
+ "unicode": "e63b",
349
+ "unicode_decimal": 58939
350
+ },
351
+ {
352
+ "icon_id": "11520190",
353
+ "name": "数据源",
354
+ "font_class": "link",
355
+ "unicode": "e636",
356
+ "unicode_decimal": 58934
357
+ },
358
+ {
359
+ "icon_id": "13328246",
360
+ "name": "files",
361
+ "font_class": "LocalFileSystem",
362
+ "unicode": "e600",
363
+ "unicode_decimal": 58880
364
+ },
365
+ {
366
+ "icon_id": "13723265",
367
+ "name": "cassandra",
368
+ "font_class": "Cassandra",
369
+ "unicode": "e74f",
370
+ "unicode_decimal": 59215
371
+ },
372
+ {
373
+ "icon_id": "14095342",
374
+ "name": "数据库",
375
+ "font_class": "DataBase",
376
+ "unicode": "e797",
377
+ "unicode_decimal": 59287
378
+ }
379
+ ]
380
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.5",
4
+ "version": "1.2.7",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",