ronds-metadata 1.3.84 → 1.3.86
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +25 -25
- package/es/api/index.js +5 -7
- package/es/comps/CodeEdit/index.d.ts +2 -2
- package/es/comps/CodeEdit/index.js +3 -2
- package/es/comps/CodeEdit/index.less +6 -6
- package/es/comps/DataMine/Line.d.ts +1 -2
- package/es/comps/DataMine/Line.js +1 -0
- package/es/comps/DataMine/index.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
- package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
- package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
- package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
- package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
- package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
- package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
- package/es/comps/DynamicPorts/comps/shape/node.js +9 -8
- package/es/comps/DynamicPorts/graph.js +4 -5
- package/es/comps/DynamicPorts/index.d.ts +1 -2
- package/es/comps/DynamicPorts/index.less +307 -307
- package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
- package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
- package/es/comps/Editable/DataCell/Input.d.ts +1 -1
- package/es/comps/Editable/DataCell/Number.d.ts +1 -1
- package/es/comps/Editable/DataCell/Select.d.ts +1 -1
- package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
- package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
- package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
- package/es/comps/Editable/comps/Texty.d.ts +1 -1
- package/es/comps/Editable/comps/Texty.js +4 -5
- package/es/comps/Editable/comps/Texty.less +43 -43
- package/es/comps/Editable/comps/index.less +38 -38
- package/es/comps/Editable/index.d.ts +1 -2
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/utils.d.ts +1 -2
- package/es/comps/FileView/index.d.ts +1 -2
- package/es/comps/FileView/index.js +3 -2
- package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
- package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
- package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.d.ts +1 -2
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/JsonEdit/index.d.ts +1 -2
- package/es/comps/JsonEdit/index.js +1 -0
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.d.ts +1 -2
- package/es/comps/JsonView/index.less +41 -41
- package/es/comps/MdEdit/index.d.ts +1 -2
- package/es/comps/MdEdit/index.less +6 -6
- package/es/comps/MdEditPro/index.d.ts +1 -2
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdEditPro/index2.d.ts +1 -1
- package/es/comps/MdNavbar/index.d.ts +1 -2
- package/es/comps/MdNavbar/index.less +77 -77
- package/es/comps/MdView/index.d.ts +1 -1
- package/es/comps/MdView/index.less +376 -376
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/constant/index.js +2 -0
- package/es/comps/MetadataEdit/index.d.ts +1 -2
- package/es/comps/MetadataEdit/index.less +10 -10
- package/es/comps/MetadataEdit/type.d.ts +20 -20
- package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.js +8 -4
- package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/business/index.js +1 -0
- package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +2 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.js +10 -5
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +2 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.js +8 -4
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +2 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.js +12 -6
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +2 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.js +12 -6
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.js +24 -7
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +2 -2
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +12 -16
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +2 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +12 -6
- package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
- package/es/comps/MetadataForm/HOC/index.less +41 -41
- package/es/comps/MetadataForm/index.d.ts +1 -2
- package/es/comps/MetadataForm/utils.d.ts +2 -3
- package/es/comps/Split/index.d.ts +1 -1
- package/es/comps/Split/index.less +29 -29
- package/es/framework/RxStore/demo/index.d.ts +1 -2
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/msgpack5/lib/helpers.js +1 -0
- package/es/framework/libs/jquery.min.js +4 -4
- package/es/framework/locale/dil8/di18n.js +3 -5
- package/es/framework/metadata/MetadataService.js +14 -14
- package/es/framework/metadata/index.js +15 -14
- package/es/framework/metadata/types.d.ts +103 -103
- package/es/theme.less +81 -81
- package/package.json +116 -116
@@ -1,103 +1,103 @@
|
|
1
|
-
/*
|
2
|
-
* @Author: wangxian
|
3
|
-
* @Date: 2021-09-18 14:15:04
|
4
|
-
* @LastEditTime: 2023-08-22 16:30:28
|
5
|
-
*/
|
6
|
-
export type IMetaType = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array' | string;
|
7
|
-
|
8
|
-
export type IMetaData = {
|
9
|
-
/**
|
10
|
-
* 类名称/属性名称
|
11
|
-
*/
|
12
|
-
id: string;
|
13
|
-
/**
|
14
|
-
* 类型
|
15
|
-
*/
|
16
|
-
type: IMetaType;
|
17
|
-
/**
|
18
|
-
* 属性
|
19
|
-
*/
|
20
|
-
properties?: IMetaProperties[];
|
21
|
-
|
22
|
-
/**
|
23
|
-
* 引用id
|
24
|
-
*/
|
25
|
-
refId?: string;
|
26
|
-
/**
|
27
|
-
* 静态的变量
|
28
|
-
*/
|
29
|
-
fields?: IMetaFileds[];
|
30
|
-
/**
|
31
|
-
* 内部类
|
32
|
-
*/
|
33
|
-
types?: IMetaData[];
|
34
|
-
};
|
35
|
-
|
36
|
-
export type IMetaProperties = {
|
37
|
-
/**
|
38
|
-
* 类规则名称
|
39
|
-
*/
|
40
|
-
id: string;
|
41
|
-
|
42
|
-
/**
|
43
|
-
* 类型
|
44
|
-
*/
|
45
|
-
type: IMetaType;
|
46
|
-
|
47
|
-
/**
|
48
|
-
* 引用id
|
49
|
-
*/
|
50
|
-
refId?: string;
|
51
|
-
/**
|
52
|
-
* 静态的变量
|
53
|
-
*/
|
54
|
-
fields?: IMetaFileds[];
|
55
|
-
/**
|
56
|
-
* 枚举值
|
57
|
-
*/
|
58
|
-
enum?: { value: string }[];
|
59
|
-
/**
|
60
|
-
* 数组类型
|
61
|
-
*/
|
62
|
-
items?: { type: IMetaType; refId?: string };
|
63
|
-
};
|
64
|
-
|
65
|
-
export type IMetaFileds = {
|
66
|
-
/**
|
67
|
-
* 规则名称
|
68
|
-
*/
|
69
|
-
id: string;
|
70
|
-
|
71
|
-
/**
|
72
|
-
* 类型
|
73
|
-
*/
|
74
|
-
type: IMetaType;
|
75
|
-
|
76
|
-
/**
|
77
|
-
* 引用id
|
78
|
-
*/
|
79
|
-
refId?: string;
|
80
|
-
|
81
|
-
/**
|
82
|
-
* 规则值
|
83
|
-
*/
|
84
|
-
value: any;
|
85
|
-
};
|
86
|
-
|
87
|
-
export interface IAPI {
|
88
|
-
// 获取元数据列表
|
89
|
-
GetMetadataList(keyWords?: string[]): Promise<{ id: string; name: string; schema: string }[]>;
|
90
|
-
// 通过元数据Id获取元数据详情
|
91
|
-
GetMetadataDetailById(metadataId: string): Promise<any>;
|
92
|
-
// 新增元数据
|
93
|
-
SaveMetadata(data: any, metadataTag: string): Promise<any>;
|
94
|
-
// 获取元数据的值
|
95
|
-
GetMetadataObjList(data: any): Promise<any[]>;
|
96
|
-
/** 通过扩展规则获取枚举类型的值 */
|
97
|
-
GetEnumDataByUrl(url: string, method: 'get' | 'post', body: any): Promise<any>;
|
98
|
-
// 获取执行状态
|
99
|
-
|
100
|
-
GetGraphStatus(data: any): Promise<any>;
|
101
|
-
// 获取执行状态
|
102
|
-
StopGraphRun(data: any): Promise<any>;
|
103
|
-
}
|
1
|
+
/*
|
2
|
+
* @Author: wangxian
|
3
|
+
* @Date: 2021-09-18 14:15:04
|
4
|
+
* @LastEditTime: 2023-08-22 16:30:28
|
5
|
+
*/
|
6
|
+
export type IMetaType = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array' | string;
|
7
|
+
|
8
|
+
export type IMetaData = {
|
9
|
+
/**
|
10
|
+
* 类名称/属性名称
|
11
|
+
*/
|
12
|
+
id: string;
|
13
|
+
/**
|
14
|
+
* 类型
|
15
|
+
*/
|
16
|
+
type: IMetaType;
|
17
|
+
/**
|
18
|
+
* 属性
|
19
|
+
*/
|
20
|
+
properties?: IMetaProperties[];
|
21
|
+
|
22
|
+
/**
|
23
|
+
* 引用id
|
24
|
+
*/
|
25
|
+
refId?: string;
|
26
|
+
/**
|
27
|
+
* 静态的变量
|
28
|
+
*/
|
29
|
+
fields?: IMetaFileds[];
|
30
|
+
/**
|
31
|
+
* 内部类
|
32
|
+
*/
|
33
|
+
types?: IMetaData[];
|
34
|
+
};
|
35
|
+
|
36
|
+
export type IMetaProperties = {
|
37
|
+
/**
|
38
|
+
* 类规则名称
|
39
|
+
*/
|
40
|
+
id: string;
|
41
|
+
|
42
|
+
/**
|
43
|
+
* 类型
|
44
|
+
*/
|
45
|
+
type: IMetaType;
|
46
|
+
|
47
|
+
/**
|
48
|
+
* 引用id
|
49
|
+
*/
|
50
|
+
refId?: string;
|
51
|
+
/**
|
52
|
+
* 静态的变量
|
53
|
+
*/
|
54
|
+
fields?: IMetaFileds[];
|
55
|
+
/**
|
56
|
+
* 枚举值
|
57
|
+
*/
|
58
|
+
enum?: { value: string }[];
|
59
|
+
/**
|
60
|
+
* 数组类型
|
61
|
+
*/
|
62
|
+
items?: { type: IMetaType; refId?: string };
|
63
|
+
};
|
64
|
+
|
65
|
+
export type IMetaFileds = {
|
66
|
+
/**
|
67
|
+
* 规则名称
|
68
|
+
*/
|
69
|
+
id: string;
|
70
|
+
|
71
|
+
/**
|
72
|
+
* 类型
|
73
|
+
*/
|
74
|
+
type: IMetaType;
|
75
|
+
|
76
|
+
/**
|
77
|
+
* 引用id
|
78
|
+
*/
|
79
|
+
refId?: string;
|
80
|
+
|
81
|
+
/**
|
82
|
+
* 规则值
|
83
|
+
*/
|
84
|
+
value: any;
|
85
|
+
};
|
86
|
+
|
87
|
+
export interface IAPI {
|
88
|
+
// 获取元数据列表
|
89
|
+
GetMetadataList(keyWords?: string[]): Promise<{ id: string; name: string; schema: string }[]>;
|
90
|
+
// 通过元数据Id获取元数据详情
|
91
|
+
GetMetadataDetailById(metadataId: string): Promise<any>;
|
92
|
+
// 新增元数据
|
93
|
+
SaveMetadata(data: any, metadataTag: string): Promise<any>;
|
94
|
+
// 获取元数据的值
|
95
|
+
GetMetadataObjList(data: any): Promise<any[]>;
|
96
|
+
/** 通过扩展规则获取枚举类型的值 */
|
97
|
+
GetEnumDataByUrl(url: string, method: 'get' | 'post', body: any): Promise<any>;
|
98
|
+
// 获取执行状态
|
99
|
+
|
100
|
+
GetGraphStatus(data: any): Promise<any>;
|
101
|
+
// 获取执行状态
|
102
|
+
StopGraphRun(data: any): Promise<any>;
|
103
|
+
}
|
package/es/theme.less
CHANGED
@@ -1,81 +1,81 @@
|
|
1
|
-
.ronds-metadata-dark {
|
2
|
-
--ronds-metadata-color-border-1: #314162;
|
3
|
-
--ronds-metadata-color-border-2: #0d9af3;
|
4
|
-
--ronds-metadata-color-bg-2: #0d1f40;
|
5
|
-
--ronds-metadata-color-bg-3: #021125;
|
6
|
-
--ronds-metadata-color-bg-4: #1c3771;
|
7
|
-
--ronds-metadata-color-bg-5: #13264e;
|
8
|
-
--ronds-metadata-color-bg-6: #0d1f40;
|
9
|
-
--ronds-metadata-color-text-1: #ffffff;
|
10
|
-
--ronds-metadata-color-text-2: #ffffff;
|
11
|
-
--ronds-metadata-color-text-3: #ffffff;
|
12
|
-
|
13
|
-
::-webkit-scrollbar {
|
14
|
-
width: 6px;
|
15
|
-
height: 6px;
|
16
|
-
overflow: auto;
|
17
|
-
}
|
18
|
-
::-webkit-scrollbar-corner {
|
19
|
-
background-color: transparent;
|
20
|
-
color: transparent;
|
21
|
-
}
|
22
|
-
|
23
|
-
::-webkit-scrollbar-thumb {
|
24
|
-
box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
|
25
|
-
background: var(--scrollbar-color);
|
26
|
-
min-height: 25px;
|
27
|
-
min-width: 25px;
|
28
|
-
border-radius: 3px;
|
29
|
-
|
30
|
-
&:hover {
|
31
|
-
border-radius: 2px;
|
32
|
-
// box-shadow: inset 0 0 5px var(--scrollbar-color-hover);
|
33
|
-
background: var(--scrollbar-color-hover);
|
34
|
-
}
|
35
|
-
|
36
|
-
&:active {
|
37
|
-
// box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
|
38
|
-
background: var(--scrollbar-color-hover);
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
.ronds-metadata-normal {
|
44
|
-
--ronds-metadata-color-border-1: #d9d9d9;
|
45
|
-
--ronds-metadata-color-border-2: #165dff;
|
46
|
-
--ronds-metadata-color-bg-2: #ffffff;
|
47
|
-
--ronds-metadata-color-bg-3: #f6f5f6;
|
48
|
-
--ronds-metadata-color-bg-4: #ffffff;
|
49
|
-
--ronds-metadata-color-bg-5: #ffffff;
|
50
|
-
--ronds-metadata-color-bg-6: rgba(229, 238, 255, 0.85);
|
51
|
-
--ronds-metadata-color-text-1: #1d2129;
|
52
|
-
--ronds-metadata-color-text-2: #24292f;
|
53
|
-
--ronds-metadata-color-text-3: #f2f3f5;
|
54
|
-
|
55
|
-
::-webkit-scrollbar {
|
56
|
-
width: 6px;
|
57
|
-
height: 6px;
|
58
|
-
overflow: auto;
|
59
|
-
}
|
60
|
-
|
61
|
-
::-webkit-scrollbar-thumb {
|
62
|
-
background-color: var(--scrollbar-color);
|
63
|
-
min-height: 25px;
|
64
|
-
min-width: 25px;
|
65
|
-
border-radius: 3px;
|
66
|
-
|
67
|
-
&:hover {
|
68
|
-
background-color: #a8a8a8;
|
69
|
-
}
|
70
|
-
|
71
|
-
&:active {
|
72
|
-
background-color: #787878;
|
73
|
-
}
|
74
|
-
|
75
|
-
/* border: 1px solid #e0e0e0; */
|
76
|
-
}
|
77
|
-
|
78
|
-
::-webkit-scrollbar-track {
|
79
|
-
background-color: #f7f7f7;
|
80
|
-
}
|
81
|
-
}
|
1
|
+
.ronds-metadata-dark {
|
2
|
+
--ronds-metadata-color-border-1: #314162;
|
3
|
+
--ronds-metadata-color-border-2: #0d9af3;
|
4
|
+
--ronds-metadata-color-bg-2: #0d1f40;
|
5
|
+
--ronds-metadata-color-bg-3: #021125;
|
6
|
+
--ronds-metadata-color-bg-4: #1c3771;
|
7
|
+
--ronds-metadata-color-bg-5: #13264e;
|
8
|
+
--ronds-metadata-color-bg-6: #0d1f40;
|
9
|
+
--ronds-metadata-color-text-1: #ffffff;
|
10
|
+
--ronds-metadata-color-text-2: #ffffff;
|
11
|
+
--ronds-metadata-color-text-3: #ffffff;
|
12
|
+
|
13
|
+
::-webkit-scrollbar {
|
14
|
+
width: 6px;
|
15
|
+
height: 6px;
|
16
|
+
overflow: auto;
|
17
|
+
}
|
18
|
+
::-webkit-scrollbar-corner {
|
19
|
+
background-color: transparent;
|
20
|
+
color: transparent;
|
21
|
+
}
|
22
|
+
|
23
|
+
::-webkit-scrollbar-thumb {
|
24
|
+
box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
|
25
|
+
background: var(--scrollbar-color);
|
26
|
+
min-height: 25px;
|
27
|
+
min-width: 25px;
|
28
|
+
border-radius: 3px;
|
29
|
+
|
30
|
+
&:hover {
|
31
|
+
border-radius: 2px;
|
32
|
+
// box-shadow: inset 0 0 5px var(--scrollbar-color-hover);
|
33
|
+
background: var(--scrollbar-color-hover);
|
34
|
+
}
|
35
|
+
|
36
|
+
&:active {
|
37
|
+
// box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
|
38
|
+
background: var(--scrollbar-color-hover);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.ronds-metadata-normal {
|
44
|
+
--ronds-metadata-color-border-1: #d9d9d9;
|
45
|
+
--ronds-metadata-color-border-2: #165dff;
|
46
|
+
--ronds-metadata-color-bg-2: #ffffff;
|
47
|
+
--ronds-metadata-color-bg-3: #f6f5f6;
|
48
|
+
--ronds-metadata-color-bg-4: #ffffff;
|
49
|
+
--ronds-metadata-color-bg-5: #ffffff;
|
50
|
+
--ronds-metadata-color-bg-6: rgba(229, 238, 255, 0.85);
|
51
|
+
--ronds-metadata-color-text-1: #1d2129;
|
52
|
+
--ronds-metadata-color-text-2: #24292f;
|
53
|
+
--ronds-metadata-color-text-3: #f2f3f5;
|
54
|
+
|
55
|
+
::-webkit-scrollbar {
|
56
|
+
width: 6px;
|
57
|
+
height: 6px;
|
58
|
+
overflow: auto;
|
59
|
+
}
|
60
|
+
|
61
|
+
::-webkit-scrollbar-thumb {
|
62
|
+
background-color: var(--scrollbar-color);
|
63
|
+
min-height: 25px;
|
64
|
+
min-width: 25px;
|
65
|
+
border-radius: 3px;
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
background-color: #a8a8a8;
|
69
|
+
}
|
70
|
+
|
71
|
+
&:active {
|
72
|
+
background-color: #787878;
|
73
|
+
}
|
74
|
+
|
75
|
+
/* border: 1px solid #e0e0e0; */
|
76
|
+
}
|
77
|
+
|
78
|
+
::-webkit-scrollbar-track {
|
79
|
+
background-color: #f7f7f7;
|
80
|
+
}
|
81
|
+
}
|
package/package.json
CHANGED
@@ -1,117 +1,117 @@
|
|
1
|
-
{
|
2
|
-
"public": true,
|
3
|
-
"name": "ronds-metadata",
|
4
|
-
"version": "1.3.
|
5
|
-
"scripts": {
|
6
|
-
"start": "dumi dev",
|
7
|
-
"docs:build": "dumi build",
|
8
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
9
|
-
"build": "father-build",
|
10
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
11
|
-
"release": "npm run build && npm publish",
|
12
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
13
|
-
"test": "umi-test",
|
14
|
-
"test:coverage": "umi-test --coverage",
|
15
|
-
"prepublishOnly": "npm run build"
|
16
|
-
},
|
17
|
-
"main": "es",
|
18
|
-
"module": "es",
|
19
|
-
"types": "es/index.d.ts",
|
20
|
-
"gitHooks": {
|
21
|
-
"pre-commit": "lint-staged"
|
22
|
-
},
|
23
|
-
"lint-staged": {
|
24
|
-
"*.{js,jsx,less,md,json}": [
|
25
|
-
"prettier --write"
|
26
|
-
],
|
27
|
-
"*.ts?(x)": [
|
28
|
-
"prettier --parser=typescript --write"
|
29
|
-
]
|
30
|
-
},
|
31
|
-
"files": [
|
32
|
-
"/es"
|
33
|
-
],
|
34
|
-
"dependencies": {
|
35
|
-
"@antv/g2plot": "^2.4.31",
|
36
|
-
"@antv/x6": "^1.32.2",
|
37
|
-
"@antv/x6-react-shape": "^1.6.0",
|
38
|
-
"@babel/helper-create-regexp-features-plugin": "^7.12.13",
|
39
|
-
"@babel/runtime": "^7.11.2",
|
40
|
-
"@milkdown/core": "^7.3.0",
|
41
|
-
"@milkdown/ctx": "^7.3.0",
|
42
|
-
"@milkdown/preset-commonmark": "^7.3.0",
|
43
|
-
"@milkdown/prose": "^7.3.0",
|
44
|
-
"@milkdown/react": "^7.3.0",
|
45
|
-
"@milkdown/theme-nord": "^7.3.0",
|
46
|
-
"@milkdown/transformer": "^7.3.0",
|
47
|
-
"@monaco-editor/react": "4.4.6",
|
48
|
-
"@popperjs/core": "^2.4.4",
|
49
|
-
"@types/file-saver": "^2.0.5",
|
50
|
-
"@types/markdown-it": "^12.2.3",
|
51
|
-
"@types/markdown-navbar": "^1.4.0",
|
52
|
-
"ahooks": "^3.4.0",
|
53
|
-
"axios": "^0.21.4",
|
54
|
-
"babel-plugin-import": "^1.13.3",
|
55
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
56
|
-
"bl": "^5.0.0",
|
57
|
-
"codemirror": "^5.63.0",
|
58
|
-
"codepage": "^1.15.0",
|
59
|
-
"css-element-queries": "^1.2.3",
|
60
|
-
"file-saver": "^2.0.5",
|
61
|
-
"github-markdown-css": "^5.1.0",
|
62
|
-
"html-docx-js-typescript": "^0.1.5",
|
63
|
-
"immer": "^9.0.14",
|
64
|
-
"lodash": "^4.17.21",
|
65
|
-
"markdown-it": "^13.0.1",
|
66
|
-
"markdown-navbar": "^1.4.3",
|
67
|
-
"monaco-editor": "^0.41.0",
|
68
|
-
"protobufjs": "^7.2.5",
|
69
|
-
"qs": "^6.10.1",
|
70
|
-
"react": "^17.0.2",
|
71
|
-
"react-contenteditable": "^3.3.7",
|
72
|
-
"react-dnd": "^11.1.3",
|
73
|
-
"react-dnd-html5-backend": "^11.1.3",
|
74
|
-
"react-jexcel": "^1.0.2",
|
75
|
-
"react-markdown": "^8.0.3",
|
76
|
-
"react-markdown-editor-lite": "^1.3.2",
|
77
|
-
"react-popper": "^2.2.3",
|
78
|
-
"react-split": "^2.0.14",
|
79
|
-
"react-syntax-highlighter": "^15.5.0",
|
80
|
-
"rehype-raw": "^6.1.1",
|
81
|
-
"remark-gfm": "^3.0.1",
|
82
|
-
"ronds-react-markdown": "^1.0.12",
|
83
|
-
"rxjs": "^7.5.4",
|
84
|
-
"walk": "^2.3.15",
|
85
|
-
"xlsx": "^0.18.5"
|
86
|
-
},
|
87
|
-
"peerDependencies": {
|
88
|
-
"antd": ">=4.1.5",
|
89
|
-
"react": ">=16.14.0",
|
90
|
-
"react-dom": ">=16.14.0",
|
91
|
-
"react-router": ">=5.0.0",
|
92
|
-
"styled-components": ">=4.1.1"
|
93
|
-
},
|
94
|
-
"devDependencies": {
|
95
|
-
"@types/react": "^17.0.2",
|
96
|
-
"@types/react-dom": "^17.0.2",
|
97
|
-
"@types/react-router": "^5.1.8",
|
98
|
-
"@types/react-window": "^1.8.2",
|
99
|
-
"@types/styled-components": "^5.1.2",
|
100
|
-
"@umijs/test": "^3.0.5",
|
101
|
-
"antd": "^4.18.1",
|
102
|
-
"babel-loader": "^8.1.0",
|
103
|
-
"copy-to-clipboard": "^3.3.1",
|
104
|
-
"css-loader": "^4.2.2",
|
105
|
-
"dumi": "^1.0.16",
|
106
|
-
"father-build": "^1.17.2",
|
107
|
-
"file-loader": "^6.2.0",
|
108
|
-
"gh-pages": "^3.0.0",
|
109
|
-
"less-loader": "^7.0.0",
|
110
|
-
"lint-staged": "^10.0.7",
|
111
|
-
"node-xlsx": "^0.24.0",
|
112
|
-
"prettier": "^2.2.1",
|
113
|
-
"style-loader": "^1.2.1",
|
114
|
-
"webpack-cli": "^3.3.12",
|
115
|
-
"yorkie": "^2.0.0"
|
116
|
-
}
|
1
|
+
{
|
2
|
+
"public": true,
|
3
|
+
"name": "ronds-metadata",
|
4
|
+
"version": "1.3.86",
|
5
|
+
"scripts": {
|
6
|
+
"start": "dumi dev",
|
7
|
+
"docs:build": "dumi build",
|
8
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
9
|
+
"build": "father-build",
|
10
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
11
|
+
"release": "npm run build && npm publish",
|
12
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
13
|
+
"test": "umi-test",
|
14
|
+
"test:coverage": "umi-test --coverage",
|
15
|
+
"prepublishOnly": "npm run build"
|
16
|
+
},
|
17
|
+
"main": "es",
|
18
|
+
"module": "es",
|
19
|
+
"types": "es/index.d.ts",
|
20
|
+
"gitHooks": {
|
21
|
+
"pre-commit": "lint-staged"
|
22
|
+
},
|
23
|
+
"lint-staged": {
|
24
|
+
"*.{js,jsx,less,md,json}": [
|
25
|
+
"prettier --write"
|
26
|
+
],
|
27
|
+
"*.ts?(x)": [
|
28
|
+
"prettier --parser=typescript --write"
|
29
|
+
]
|
30
|
+
},
|
31
|
+
"files": [
|
32
|
+
"/es"
|
33
|
+
],
|
34
|
+
"dependencies": {
|
35
|
+
"@antv/g2plot": "^2.4.31",
|
36
|
+
"@antv/x6": "^1.32.2",
|
37
|
+
"@antv/x6-react-shape": "^1.6.0",
|
38
|
+
"@babel/helper-create-regexp-features-plugin": "^7.12.13",
|
39
|
+
"@babel/runtime": "^7.11.2",
|
40
|
+
"@milkdown/core": "^7.3.0",
|
41
|
+
"@milkdown/ctx": "^7.3.0",
|
42
|
+
"@milkdown/preset-commonmark": "^7.3.0",
|
43
|
+
"@milkdown/prose": "^7.3.0",
|
44
|
+
"@milkdown/react": "^7.3.0",
|
45
|
+
"@milkdown/theme-nord": "^7.3.0",
|
46
|
+
"@milkdown/transformer": "^7.3.0",
|
47
|
+
"@monaco-editor/react": "4.4.6",
|
48
|
+
"@popperjs/core": "^2.4.4",
|
49
|
+
"@types/file-saver": "^2.0.5",
|
50
|
+
"@types/markdown-it": "^12.2.3",
|
51
|
+
"@types/markdown-navbar": "^1.4.0",
|
52
|
+
"ahooks": "^3.4.0",
|
53
|
+
"axios": "^0.21.4",
|
54
|
+
"babel-plugin-import": "^1.13.3",
|
55
|
+
"babel-plugin-transform-remove-console": "^6.9.4",
|
56
|
+
"bl": "^5.0.0",
|
57
|
+
"codemirror": "^5.63.0",
|
58
|
+
"codepage": "^1.15.0",
|
59
|
+
"css-element-queries": "^1.2.3",
|
60
|
+
"file-saver": "^2.0.5",
|
61
|
+
"github-markdown-css": "^5.1.0",
|
62
|
+
"html-docx-js-typescript": "^0.1.5",
|
63
|
+
"immer": "^9.0.14",
|
64
|
+
"lodash": "^4.17.21",
|
65
|
+
"markdown-it": "^13.0.1",
|
66
|
+
"markdown-navbar": "^1.4.3",
|
67
|
+
"monaco-editor": "^0.41.0",
|
68
|
+
"protobufjs": "^7.2.5",
|
69
|
+
"qs": "^6.10.1",
|
70
|
+
"react": "^17.0.2",
|
71
|
+
"react-contenteditable": "^3.3.7",
|
72
|
+
"react-dnd": "^11.1.3",
|
73
|
+
"react-dnd-html5-backend": "^11.1.3",
|
74
|
+
"react-jexcel": "^1.0.2",
|
75
|
+
"react-markdown": "^8.0.3",
|
76
|
+
"react-markdown-editor-lite": "^1.3.2",
|
77
|
+
"react-popper": "^2.2.3",
|
78
|
+
"react-split": "^2.0.14",
|
79
|
+
"react-syntax-highlighter": "^15.5.0",
|
80
|
+
"rehype-raw": "^6.1.1",
|
81
|
+
"remark-gfm": "^3.0.1",
|
82
|
+
"ronds-react-markdown": "^1.0.12",
|
83
|
+
"rxjs": "^7.5.4",
|
84
|
+
"walk": "^2.3.15",
|
85
|
+
"xlsx": "^0.18.5"
|
86
|
+
},
|
87
|
+
"peerDependencies": {
|
88
|
+
"antd": ">=4.1.5",
|
89
|
+
"react": ">=16.14.0",
|
90
|
+
"react-dom": ">=16.14.0",
|
91
|
+
"react-router": ">=5.0.0",
|
92
|
+
"styled-components": ">=4.1.1"
|
93
|
+
},
|
94
|
+
"devDependencies": {
|
95
|
+
"@types/react": "^17.0.2",
|
96
|
+
"@types/react-dom": "^17.0.2",
|
97
|
+
"@types/react-router": "^5.1.8",
|
98
|
+
"@types/react-window": "^1.8.2",
|
99
|
+
"@types/styled-components": "^5.1.2",
|
100
|
+
"@umijs/test": "^3.0.5",
|
101
|
+
"antd": "^4.18.1",
|
102
|
+
"babel-loader": "^8.1.0",
|
103
|
+
"copy-to-clipboard": "^3.3.1",
|
104
|
+
"css-loader": "^4.2.2",
|
105
|
+
"dumi": "^1.0.16",
|
106
|
+
"father-build": "^1.17.2",
|
107
|
+
"file-loader": "^6.2.0",
|
108
|
+
"gh-pages": "^3.0.0",
|
109
|
+
"less-loader": "^7.0.0",
|
110
|
+
"lint-staged": "^10.0.7",
|
111
|
+
"node-xlsx": "^0.24.0",
|
112
|
+
"prettier": "^2.2.1",
|
113
|
+
"style-loader": "^1.2.1",
|
114
|
+
"webpack-cli": "^3.3.12",
|
115
|
+
"yorkie": "^2.0.0"
|
116
|
+
}
|
117
117
|
}
|