ronds-metadata 1.3.89 → 1.3.91
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/README.md +25 -25
- package/es/api/index.d.ts +11 -1
- package/es/api/index.js +202 -47
- package/es/comps/Chart/bar/index.d.ts +8 -0
- package/es/comps/Chart/bar/index.js +136 -0
- package/es/comps/Chart/constants.d.ts +7 -0
- package/es/comps/Chart/constants.js +8 -0
- package/es/comps/Chart/index.d.ts +9 -0
- package/es/comps/Chart/index.js +31 -0
- package/es/comps/Chart/line/index.d.ts +8 -0
- package/es/comps/Chart/line/index.js +163 -0
- package/es/comps/Chart/pie/index.d.ts +8 -0
- package/es/comps/Chart/pie/index.js +67 -0
- package/es/comps/Chart/type.d.ts +19 -0
- package/es/comps/Chart/type.js +1 -0
- package/es/comps/Chart/utils.d.ts +1 -0
- package/es/comps/Chart/utils.js +19 -0
- package/es/comps/CodeEdit/index.d.ts +5 -2
- package/es/comps/CodeEdit/index.js +42 -91
- package/es/comps/CodeEdit/index.less +6 -6
- package/es/comps/CodeEdit/utils.d.ts +2 -0
- package/es/comps/CodeEdit/utils.js +173 -0
- package/es/comps/CodeEditor/config.d.ts +27 -0
- package/es/comps/CodeEditor/config.js +64 -0
- package/es/comps/CodeEditor/index.d.ts +42 -0
- package/es/comps/CodeEditor/index.js +320 -0
- package/es/comps/CodeEditor/index.less +3 -0
- package/es/comps/CodeEditor/suggestions/constants/cassandra.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/constants/cassandra.js +6 -0
- package/es/comps/CodeEditor/suggestions/constants/clickhouse.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/constants/clickhouse.js +6 -0
- package/es/comps/CodeEditor/suggestions/constants/dm.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/constants/dm.js +6 -0
- package/es/comps/CodeEditor/suggestions/constants/index.d.ts +33 -0
- package/es/comps/CodeEditor/suggestions/constants/index.js +19 -0
- package/es/comps/CodeEditor/suggestions/constants/pgsql.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/constants/pgsql.js +6 -0
- package/es/comps/CodeEditor/suggestions/constants/redis.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/constants/redis.js +6 -0
- package/es/comps/CodeEditor/suggestions/constants/sqlserver.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/constants/sqlserver.js +6 -0
- package/es/comps/CodeEditor/suggestions/register/database.d.ts +8 -0
- package/es/comps/CodeEditor/suggestions/register/database.js +61 -0
- package/es/comps/CodeEditor/suggestions/register/field.d.ts +10 -0
- package/es/comps/CodeEditor/suggestions/register/field.js +144 -0
- package/es/comps/CodeEditor/suggestions/register/index.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/register/index.js +7 -0
- package/es/comps/CodeEditor/suggestions/register/keyword.d.ts +6 -0
- package/es/comps/CodeEditor/suggestions/register/keyword.js +79 -0
- package/es/comps/CodeEditor/suggestions/register/prompt.d.ts +5 -0
- package/es/comps/CodeEditor/suggestions/register/prompt.js +40 -0
- package/es/comps/CodeEditor/suggestions/register/schema.d.ts +7 -0
- package/es/comps/CodeEditor/suggestions/register/schema.js +85 -0
- package/es/comps/CodeEditor/suggestions/register/table.d.ts +14 -0
- package/es/comps/CodeEditor/suggestions/register/table.js +173 -0
- package/es/comps/CodeEditor/utils.d.ts +13 -0
- package/es/comps/CodeEditor/utils.js +69 -0
- package/es/comps/DataMine/Line.js +0 -1
- package/es/comps/DraggableDiv/index.d.ts +9 -0
- package/es/comps/DraggableDiv/index.js +139 -0
- package/es/comps/DraggableDiv/index.less +45 -0
- package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
- package/es/comps/DynamicPorts/comps/DragNode.js +1 -1
- package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
- package/es/comps/DynamicPorts/comps/NodeElementAlgo.d.ts +6 -0
- package/es/comps/DynamicPorts/comps/NodeElementAlgo.js +76 -0
- package/es/comps/DynamicPorts/comps/NodeElementConfig.d.ts +6 -0
- package/es/comps/DynamicPorts/comps/NodeElementConfig.js +73 -0
- package/es/comps/DynamicPorts/comps/NodeElementRead.d.ts +6 -0
- package/es/comps/DynamicPorts/comps/NodeElementRead.js +76 -0
- 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.js +1 -1
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
- package/es/comps/DynamicPorts/comps/shape/connector.js +12 -2
- package/es/comps/DynamicPorts/comps/shape/edge.d.ts +2 -0
- package/es/comps/DynamicPorts/comps/shape/edge.js +30 -3
- package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
- package/es/comps/DynamicPorts/comps/shape/node.d.ts +15 -0
- package/es/comps/DynamicPorts/comps/shape/node.js +293 -5
- package/es/comps/DynamicPorts/constant/index.d.ts +2 -0
- package/es/comps/DynamicPorts/constant/index.js +3 -1
- package/es/comps/DynamicPorts/graph.d.ts +2 -2
- package/es/comps/DynamicPorts/graph.js +63 -38
- package/es/comps/DynamicPorts/index.d.ts +1 -1
- package/es/comps/DynamicPorts/index.js +1 -1
- package/es/comps/DynamicPorts/index.less +304 -3
- package/es/comps/DynamicPorts/interface.d.ts +7 -0
- package/es/comps/DynamicPorts/interface.js +1 -1
- package/es/comps/DynamicPorts/utils.d.ts +4 -0
- package/es/comps/DynamicPorts/utils.js +13 -2
- package/es/comps/Editable/DataCell/ButtonCell.js +28 -2
- package/es/comps/Editable/comps/EditableAction.d.ts +1 -0
- package/es/comps/Editable/comps/EditableAction.js +2 -1
- package/es/comps/Editable/comps/EditableRow.js +3 -2
- package/es/comps/Editable/comps/Texty.js +1 -2
- 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 +19 -0
- package/es/comps/Editable/index.js +15 -6
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/interface.d.ts +1 -0
- package/es/comps/FileView/index.js +2 -2
- package/es/comps/FormGenerator/comps/Canvas/Preview.js +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/CassandraDs.d.ts +3 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/CassandraDs.js +258 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/KafkaDs.d.ts +3 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/KafkaDs.js +203 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/MinioDs.d.ts +3 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/MinioDs.js +203 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/PostgreSqlDs.d.ts +3 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/PostgreSqlDs.js +313 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/RedisDs.d.ts +3 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/datasource/RedisDs.js +203 -0
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.js +11 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +53 -0
- package/es/comps/FormGenerator/comps/Canvas/index.js +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.js +3 -2
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/FormGenerator/settings/index.d.ts +131 -8
- package/es/comps/FormGenerator/settings/index.js +41 -1
- package/es/comps/FormGenerator/settings/ruleConfig.d.ts +49 -0
- package/es/comps/FormGenerator/settings/ruleConfig.js +49 -0
- package/es/comps/FormGenerator/transformer.js +33 -7
- package/es/comps/JsonEdit/index.js +0 -1
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.less +41 -41
- package/es/comps/MdEdit/index.less +6 -6
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdNavbar/index.less +1 -1
- package/es/comps/MdView/index.less +3 -3
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.js +5 -5
- package/es/comps/MetadataEdit/constant/index.js +0 -2
- package/es/comps/MetadataEdit/index.js +3 -3
- package/es/comps/MetadataEdit/index.less +10 -10
- package/es/comps/MetadataEdit/type.d.ts +20 -20
- package/es/comps/MetadataForm/DataCell/Array.js +14 -2
- package/es/comps/MetadataForm/DataCell/Input.js +65 -8
- package/es/comps/MetadataForm/DataCell/Ref.js +6 -6
- package/es/comps/MetadataForm/DataCell/Select.js +72 -31
- package/es/comps/MetadataForm/DataCell/business/config.d.ts +32 -36
- package/es/comps/MetadataForm/DataCell/business/config.js +74 -67
- package/es/comps/MetadataForm/DataCell/business/index.js +44 -1
- package/es/comps/MetadataForm/DataCell/layout/TableArray.js +7 -7
- package/es/comps/MetadataForm/DataCell/plugin/ButtonSelect.d.ts +12 -0
- package/es/comps/MetadataForm/DataCell/plugin/ButtonSelect.js +68 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +9 -1
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.js +163 -90
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/DataLake.d.ts +20 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/DataLake.js +255 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/DatasourceType.d.ts +17 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/DatasourceType.js +133 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/ExtraAttr.d.ts +10 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/ExtraAttr.js +65 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +11 -1
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.js +146 -60
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Minio.d.ts +18 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Minio.js +92 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +13 -3
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.js +206 -124
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Redis.d.ts +18 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Redis.js +92 -0
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +10 -1
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.js +207 -122
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/hooks.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/hooks.js +39 -16
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.js +359 -164
- package/es/comps/MetadataForm/DataCell/plugin/MappingTable.d.ts +12 -0
- package/es/comps/MetadataForm/DataCell/plugin/MappingTable.js +289 -0
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.js +17 -15
- package/es/comps/MetadataForm/DataCell/plugin/RunFrequency.d.ts +7 -0
- package/es/comps/MetadataForm/DataCell/plugin/RunFrequency.js +395 -0
- package/es/comps/MetadataForm/DataCell/plugin/RunStopSetting.d.ts +7 -0
- package/es/comps/MetadataForm/DataCell/plugin/RunStopSetting.js +238 -0
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +4 -1
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +94 -78
- package/es/comps/MetadataForm/HOC/index.js +4 -4
- package/es/comps/MetadataForm/HOC/index.less +17 -6
- package/es/comps/MetadataForm/constants.d.ts +4 -0
- package/es/comps/MetadataForm/constants.js +6 -2
- package/es/comps/MetadataForm/hooks/index.js +5 -5
- package/es/comps/MetadataForm/index.d.ts +12 -0
- package/es/comps/MetadataForm/index.js +59 -3
- package/es/comps/MetadataForm/index.less +32 -29
- package/es/comps/MetadataForm/interface.d.ts +6 -0
- package/es/comps/MetadataForm/interface.js +2 -1
- package/es/comps/MetadataForm/utils.d.ts +2 -0
- package/es/comps/MetadataForm/utils.js +45 -9
- package/es/comps/Split/index.less +29 -29
- package/es/comps/VideoPlayer/index.d.ts +3 -0
- package/es/comps/VideoPlayer/index.js +14 -0
- package/es/comps/VideoPlayer/index.less +9 -0
- package/es/framework/canvas/EventBus.d.ts +21 -0
- package/es/framework/canvas/EventBus.js +66 -0
- package/es/framework/canvas/ImageLoadPool.d.ts +24 -0
- package/es/framework/canvas/ImageLoadPool.js +197 -0
- package/es/framework/canvas/index.d.ts +409 -0
- package/es/framework/canvas/index.js +2639 -0
- package/es/framework/canvas/shape/Circle.d.ts +7 -0
- package/es/framework/canvas/shape/Circle.js +35 -0
- package/es/framework/canvas/shape/Dot.d.ts +7 -0
- package/es/framework/canvas/shape/Dot.js +30 -0
- package/es/framework/canvas/shape/Grid.d.ts +12 -0
- package/es/framework/canvas/shape/Grid.js +82 -0
- package/es/framework/canvas/shape/Line.d.ts +6 -0
- package/es/framework/canvas/shape/Line.js +29 -0
- package/es/framework/canvas/shape/Polygon.d.ts +6 -0
- package/es/framework/canvas/shape/Polygon.js +24 -0
- package/es/framework/canvas/shape/Rect.d.ts +6 -0
- package/es/framework/canvas/shape/Rect.js +37 -0
- package/es/framework/canvas/shape/Shape.d.ts +42 -0
- package/es/framework/canvas/shape/Shape.js +49 -0
- package/es/framework/canvas/type.d.ts +17 -0
- package/es/framework/canvas/type.js +1 -0
- package/es/framework/graph/index.js +4 -4
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/index.js +8 -8
- package/es/framework/http/msgpack5/lib/helpers.js +0 -1
- package/es/framework/jsonQl/index.js +22 -22
- package/es/framework/libs/iconfont/iconfont.css +171 -3
- package/es/framework/libs/iconfont/iconfont.json +294 -0
- package/es/framework/libs/iconfont/iconfont.ttf +0 -0
- package/es/framework/libs/iconfont/iconfont.woff +0 -0
- package/es/framework/libs/iconfont/iconfont.woff2 +0 -0
- package/es/framework/libs/jquery.min.js +5 -5
- package/es/framework/metadata/MetadataService.d.ts +7 -0
- package/es/framework/metadata/MetadataService.js +124 -29
- package/es/framework/metadata/types.d.ts +14 -1
- package/es/framework/proto/index.d.ts +18 -0
- package/es/framework/proto/index.js +85 -1
- package/es/framework/rxjs-hooks/useMemoReplaySubject.d.ts +3 -0
- package/es/framework/rxjs-hooks/useMemoReplaySubject.js +49 -0
- package/es/framework/wave/index.d.ts +217 -0
- package/es/framework/wave/index.js +1448 -0
- package/es/framework/wave/type.d.ts +143 -0
- package/es/framework/wave/type.js +1 -0
- package/es/index.d.ts +10 -1
- package/es/index.js +13 -2
- package/es/theme.less +2 -0
- package/es/utils.js +1 -1
- package/package.json +122 -117
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +0 -8
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +0 -297
|
@@ -87,13 +87,21 @@
|
|
|
87
87
|
stroke: none;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
.x6-node [magnet='true'][port-group='config'] {
|
|
91
|
+
cursor: move;
|
|
92
|
+
stroke: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
90
95
|
.x6-port-body > span {
|
|
91
96
|
display: block;
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
.x6-node-selected {
|
|
95
100
|
.node-element,
|
|
96
|
-
.node-element-form
|
|
101
|
+
.node-element-form,
|
|
102
|
+
.node-element-algo,
|
|
103
|
+
.node-element-config,
|
|
104
|
+
.node-element-read {
|
|
97
105
|
background-color: var(--ronds-metadata-color-bg-4);
|
|
98
106
|
border: 1px solid #1890ff;
|
|
99
107
|
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
|
@@ -101,14 +109,41 @@
|
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
.dp-port {
|
|
104
|
-
width:
|
|
105
|
-
height:
|
|
112
|
+
width: 8px;
|
|
113
|
+
height: 8px;
|
|
106
114
|
border: 1px solid #808080;
|
|
107
115
|
border-radius: 100%;
|
|
108
116
|
background: #fff;
|
|
109
117
|
display: block;
|
|
110
118
|
}
|
|
111
119
|
|
|
120
|
+
// .dp-port-in {
|
|
121
|
+
// width: 8px;
|
|
122
|
+
// height: 16px;
|
|
123
|
+
// border: 2px solid #808080;
|
|
124
|
+
// border-radius: 2px !important;
|
|
125
|
+
// background: #fff;
|
|
126
|
+
// display: block;
|
|
127
|
+
// }
|
|
128
|
+
|
|
129
|
+
.dp-port-in {
|
|
130
|
+
width: 8px;
|
|
131
|
+
height: 8px;
|
|
132
|
+
border: 1px solid #808080;
|
|
133
|
+
border-radius: 100%;
|
|
134
|
+
background: #fff;
|
|
135
|
+
display: block;
|
|
136
|
+
}
|
|
137
|
+
.dp-port-config {
|
|
138
|
+
width: 8px;
|
|
139
|
+
height: 8px;
|
|
140
|
+
border: 1px solid #808080;
|
|
141
|
+
background: #fff;
|
|
142
|
+
border-radius: 0px !important;
|
|
143
|
+
transform: rotate(45deg);
|
|
144
|
+
display: block;
|
|
145
|
+
}
|
|
146
|
+
|
|
112
147
|
.dp-port.connected {
|
|
113
148
|
width: 0;
|
|
114
149
|
height: 0;
|
|
@@ -121,6 +156,43 @@
|
|
|
121
156
|
background-color: transparent;
|
|
122
157
|
}
|
|
123
158
|
|
|
159
|
+
// .dp-port-in.connected {
|
|
160
|
+
// width: 0;
|
|
161
|
+
// height: 0;
|
|
162
|
+
// margin-top: 1px;
|
|
163
|
+
// margin-left: -1px;
|
|
164
|
+
// border-width: 5px 4px 0;
|
|
165
|
+
// border-style: solid;
|
|
166
|
+
// border-color: #808080 transparent transparent;
|
|
167
|
+
// border-radius: 0;
|
|
168
|
+
// background-color: transparent;
|
|
169
|
+
// transform: rotate(270deg);
|
|
170
|
+
// }
|
|
171
|
+
|
|
172
|
+
.dp-port-in.connected {
|
|
173
|
+
width: 0;
|
|
174
|
+
height: 0;
|
|
175
|
+
margin-top: 3px;
|
|
176
|
+
margin-left: -1px;
|
|
177
|
+
border-width: 5px 4px 0;
|
|
178
|
+
border-style: solid;
|
|
179
|
+
border-color: #808080 transparent transparent;
|
|
180
|
+
border-radius: 0;
|
|
181
|
+
background-color: transparent;
|
|
182
|
+
}
|
|
183
|
+
.dp-port-config.connected {
|
|
184
|
+
width: 0;
|
|
185
|
+
height: 0;
|
|
186
|
+
margin-top: 1px;
|
|
187
|
+
margin-left: -1px;
|
|
188
|
+
border-width: 5px 4px 0;
|
|
189
|
+
border-style: solid;
|
|
190
|
+
border-color: #808080 transparent transparent;
|
|
191
|
+
border-radius: 0;
|
|
192
|
+
background-color: transparent;
|
|
193
|
+
transform: rotate(180deg);
|
|
194
|
+
}
|
|
195
|
+
|
|
124
196
|
.node-element-form {
|
|
125
197
|
.dp-port.connected {
|
|
126
198
|
width: 0;
|
|
@@ -305,3 +377,232 @@
|
|
|
305
377
|
}
|
|
306
378
|
}
|
|
307
379
|
}
|
|
380
|
+
|
|
381
|
+
.node-element-algo {
|
|
382
|
+
display: flex;
|
|
383
|
+
box-sizing: border-box;
|
|
384
|
+
overflow: hidden;
|
|
385
|
+
min-height: 64px;
|
|
386
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
|
387
|
+
color: var(--ronds-metadata-color-text-1);
|
|
388
|
+
border-radius: 4px;
|
|
389
|
+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
|
390
|
+
|
|
391
|
+
&.selected,
|
|
392
|
+
&:hover {
|
|
393
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
|
394
|
+
color: var(--ronds-metadata-color-text-1);
|
|
395
|
+
border: 1px solid #1890ff;
|
|
396
|
+
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
|
397
|
+
|
|
398
|
+
.icon {
|
|
399
|
+
width: 64px;
|
|
400
|
+
height: 64px;
|
|
401
|
+
margin: 0 1px 0 -1px;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
& > * {
|
|
406
|
+
flex-grow: 1;
|
|
407
|
+
}
|
|
408
|
+
.icon {
|
|
409
|
+
display: inline-flex;
|
|
410
|
+
flex-grow: 0;
|
|
411
|
+
align-items: center;
|
|
412
|
+
justify-content: center;
|
|
413
|
+
width: 64px;
|
|
414
|
+
height: 64px;
|
|
415
|
+
background-color: var(--ronds-metadata-color-bg-6);
|
|
416
|
+
border-radius: 4px 0 0 4px;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.notation {
|
|
420
|
+
display: inline-flex;
|
|
421
|
+
align-items: center;
|
|
422
|
+
width: calc(100% - 32px);
|
|
423
|
+
padding: 0 8px;
|
|
424
|
+
user-select: none;
|
|
425
|
+
|
|
426
|
+
& > * {
|
|
427
|
+
flex-grow: 1;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.name {
|
|
431
|
+
overflow-x: hidden;
|
|
432
|
+
color: var(--ronds-metadata-color-text-1);
|
|
433
|
+
font-size: 14px;
|
|
434
|
+
font-weight: bold;
|
|
435
|
+
white-space: nowrap;
|
|
436
|
+
text-overflow: ellipsis;
|
|
437
|
+
vertical-align: middle;
|
|
438
|
+
}
|
|
439
|
+
.remark {
|
|
440
|
+
font-size: 12px;
|
|
441
|
+
color: #808080;
|
|
442
|
+
text-overflow: ellipsis;
|
|
443
|
+
display: -webkit-box;
|
|
444
|
+
-webkit-line-clamp: 2;
|
|
445
|
+
overflow: hidden;
|
|
446
|
+
-webkit-box-orient: vertical;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.statusIcon {
|
|
450
|
+
display: inline-flex;
|
|
451
|
+
flex-grow: 0;
|
|
452
|
+
align-items: center;
|
|
453
|
+
font-size: 14px;
|
|
454
|
+
cursor: pointer;
|
|
455
|
+
transform: translateZ(0);
|
|
456
|
+
z-index: 1000;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.node-element-read {
|
|
462
|
+
display: flex;
|
|
463
|
+
box-sizing: border-box;
|
|
464
|
+
overflow: hidden;
|
|
465
|
+
min-height: 64px;
|
|
466
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
|
467
|
+
color: var(--ronds-metadata-color-text-1);
|
|
468
|
+
border-radius: 24px 0px 0px 24px;
|
|
469
|
+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
|
470
|
+
|
|
471
|
+
&.selected,
|
|
472
|
+
&:hover {
|
|
473
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
|
474
|
+
color: var(--ronds-metadata-color-text-1);
|
|
475
|
+
border: 1px solid #1890ff;
|
|
476
|
+
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
|
477
|
+
|
|
478
|
+
.icon {
|
|
479
|
+
width: 64px;
|
|
480
|
+
height: 64px;
|
|
481
|
+
margin: 0 1px 0 -1px;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
& > * {
|
|
486
|
+
flex-grow: 1;
|
|
487
|
+
}
|
|
488
|
+
.icon {
|
|
489
|
+
display: inline-flex;
|
|
490
|
+
flex-grow: 0;
|
|
491
|
+
align-items: center;
|
|
492
|
+
justify-content: center;
|
|
493
|
+
width: 64px;
|
|
494
|
+
height: 64px;
|
|
495
|
+
background-color: var(--ronds-metadata-color-bg-6);
|
|
496
|
+
border-radius: 4px 0 0 4px;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.notation {
|
|
500
|
+
display: inline-flex;
|
|
501
|
+
align-items: center;
|
|
502
|
+
width: calc(100% - 32px);
|
|
503
|
+
padding: 0 8px;
|
|
504
|
+
user-select: none;
|
|
505
|
+
|
|
506
|
+
& > * {
|
|
507
|
+
flex-grow: 1;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.name {
|
|
511
|
+
overflow-x: hidden;
|
|
512
|
+
color: var(--ronds-metadata-color-text-1);
|
|
513
|
+
font-size: 14px;
|
|
514
|
+
font-weight: bold;
|
|
515
|
+
white-space: nowrap;
|
|
516
|
+
text-overflow: ellipsis;
|
|
517
|
+
vertical-align: middle;
|
|
518
|
+
}
|
|
519
|
+
.remark {
|
|
520
|
+
font-size: 12px;
|
|
521
|
+
color: #808080;
|
|
522
|
+
text-overflow: ellipsis;
|
|
523
|
+
display: -webkit-box;
|
|
524
|
+
-webkit-line-clamp: 2;
|
|
525
|
+
overflow: hidden;
|
|
526
|
+
-webkit-box-orient: vertical;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.statusIcon {
|
|
530
|
+
display: inline-flex;
|
|
531
|
+
flex-grow: 0;
|
|
532
|
+
align-items: center;
|
|
533
|
+
font-size: 14px;
|
|
534
|
+
cursor: pointer;
|
|
535
|
+
transform: translateZ(0);
|
|
536
|
+
z-index: 1000;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.node-element-config {
|
|
542
|
+
box-sizing: border-box;
|
|
543
|
+
overflow: hidden;
|
|
544
|
+
text-align: center;
|
|
545
|
+
min-height: 64px;
|
|
546
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
|
547
|
+
color: var(--ronds-metadata-color-text-1);
|
|
548
|
+
border-radius: 20%;
|
|
549
|
+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
|
550
|
+
|
|
551
|
+
&.selected,
|
|
552
|
+
&:hover {
|
|
553
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
|
554
|
+
color: var(--ronds-metadata-color-text-1);
|
|
555
|
+
border: 1px solid #1890ff;
|
|
556
|
+
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
|
557
|
+
|
|
558
|
+
.icon {
|
|
559
|
+
width: 64px;
|
|
560
|
+
height: 32px;
|
|
561
|
+
margin: 0 1px 0 -1px;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
& > * {
|
|
566
|
+
flex-grow: 1;
|
|
567
|
+
}
|
|
568
|
+
.icon {
|
|
569
|
+
// display: inline-flex;
|
|
570
|
+
flex-grow: 0;
|
|
571
|
+
align-items: center;
|
|
572
|
+
justify-content: center;
|
|
573
|
+
width: 64px;
|
|
574
|
+
height: 32px;
|
|
575
|
+
background-color: var(--ronds-metadata-color-bg-6);
|
|
576
|
+
border-radius: 4px 0 0 4px;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.notation {
|
|
580
|
+
line-height: 32px;
|
|
581
|
+
height: 32px;
|
|
582
|
+
padding: 0 8px;
|
|
583
|
+
user-select: none;
|
|
584
|
+
& > * {
|
|
585
|
+
flex-grow: 1;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.name {
|
|
589
|
+
overflow-x: hidden;
|
|
590
|
+
color: var(--ronds-metadata-color-text-1);
|
|
591
|
+
font-size: 14px;
|
|
592
|
+
font-weight: bold;
|
|
593
|
+
white-space: nowrap;
|
|
594
|
+
text-overflow: ellipsis;
|
|
595
|
+
vertical-align: middle;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.statusIcon {
|
|
599
|
+
display: inline-flex;
|
|
600
|
+
flex-grow: 0;
|
|
601
|
+
align-items: center;
|
|
602
|
+
font-size: 14px;
|
|
603
|
+
cursor: pointer;
|
|
604
|
+
transform: translateZ(0);
|
|
605
|
+
z-index: 1000;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
@@ -28,6 +28,10 @@ export declare namespace NDPGraph {
|
|
|
28
28
|
* 输出引脚
|
|
29
29
|
*/
|
|
30
30
|
outPorts: OutPort[];
|
|
31
|
+
/**
|
|
32
|
+
* 配置引脚
|
|
33
|
+
*/
|
|
34
|
+
configPorts?: ConfigPort[];
|
|
31
35
|
/**
|
|
32
36
|
* position x
|
|
33
37
|
*/
|
|
@@ -52,10 +56,13 @@ export declare namespace NDPGraph {
|
|
|
52
56
|
}
|
|
53
57
|
interface InPort extends Port {
|
|
54
58
|
}
|
|
59
|
+
interface ConfigPort extends Port {
|
|
60
|
+
}
|
|
55
61
|
interface Port {
|
|
56
62
|
id: string;
|
|
57
63
|
name: string;
|
|
58
64
|
color?: string;
|
|
65
|
+
group?: string;
|
|
59
66
|
seq: number;
|
|
60
67
|
type: number | string;
|
|
61
68
|
}
|
|
@@ -26,6 +26,7 @@ export declare function formatNodeInfoToNodeMeta(nodeData: NDPGraph.Node, inputP
|
|
|
26
26
|
name: string;
|
|
27
27
|
inPorts: NDPGraph.InPort[];
|
|
28
28
|
outPorts: NDPGraph.OutPort[];
|
|
29
|
+
configPorts?: NDPGraph.ConfigPort[];
|
|
29
30
|
param?: NDPGraph.Param;
|
|
30
31
|
};
|
|
31
32
|
ports: {
|
|
@@ -37,6 +38,7 @@ export declare function formatNodeInfoToNodeMeta(nodeData: NDPGraph.Node, inputP
|
|
|
37
38
|
name: string;
|
|
38
39
|
inPorts: NDPGraph.InPort[];
|
|
39
40
|
outPorts: NDPGraph.OutPort[];
|
|
41
|
+
configPorts?: NDPGraph.ConfigPort[];
|
|
40
42
|
param?: NDPGraph.Param;
|
|
41
43
|
};
|
|
42
44
|
export declare function formattedEdgesToEdgeMeta(edge: NDPGraph.Edge): {
|
|
@@ -97,6 +99,7 @@ export declare function formatGraphData(graphData: NDPGraph.GraphData): {
|
|
|
97
99
|
name: string;
|
|
98
100
|
inPorts: NDPGraph.InPort[];
|
|
99
101
|
outPorts: NDPGraph.OutPort[];
|
|
102
|
+
configPorts?: NDPGraph.ConfigPort[];
|
|
100
103
|
param?: NDPGraph.Param;
|
|
101
104
|
};
|
|
102
105
|
ports: {
|
|
@@ -108,6 +111,7 @@ export declare function formatGraphData(graphData: NDPGraph.GraphData): {
|
|
|
108
111
|
name: string;
|
|
109
112
|
inPorts: NDPGraph.InPort[];
|
|
110
113
|
outPorts: NDPGraph.OutPort[];
|
|
114
|
+
configPorts?: NDPGraph.ConfigPort[];
|
|
111
115
|
param?: NDPGraph.Param;
|
|
112
116
|
}[];
|
|
113
117
|
edges: {
|
|
@@ -5,7 +5,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
5
5
|
/*
|
|
6
6
|
* @Author: wangxian
|
|
7
7
|
* @Date: 2022-05-24 16:40:49
|
|
8
|
-
* @LastEditTime:
|
|
8
|
+
* @LastEditTime: 2025-07-02 14:23:08
|
|
9
9
|
*/
|
|
10
10
|
import { sortBy } from 'lodash-es';
|
|
11
11
|
import { NODE_HEIGHT, NODE_WIDTH } from './constant';
|
|
@@ -41,7 +41,8 @@ export function formatNodeInfoToNodeMeta(nodeData) {
|
|
|
41
41
|
_nodeData$y = nodeData.y,
|
|
42
42
|
y = _nodeData$y === void 0 ? 0 : _nodeData$y,
|
|
43
43
|
inPorts = nodeData.inPorts,
|
|
44
|
-
outPorts = nodeData.outPorts
|
|
44
|
+
outPorts = nodeData.outPorts,
|
|
45
|
+
configPorts = nodeData.configPorts;
|
|
45
46
|
sortBy(inPorts, 'seq').forEach(function (inPort) {
|
|
46
47
|
portItems.push(_objectSpread(_objectSpread({}, inPort), {}, {
|
|
47
48
|
color: inPort === null || inPort === void 0 ? void 0 : inPort.color,
|
|
@@ -58,6 +59,16 @@ export function formatNodeInfoToNodeMeta(nodeData) {
|
|
|
58
59
|
connected: !!inputPortConnectedMap["".concat(id.toString()).concat(outPort.id.toString())]
|
|
59
60
|
}));
|
|
60
61
|
});
|
|
62
|
+
if (configPorts) {
|
|
63
|
+
sortBy(configPorts, 'seq').forEach(function (configPort) {
|
|
64
|
+
portItems.push(_objectSpread(_objectSpread({}, configPort), {}, {
|
|
65
|
+
color: configPort === null || configPort === void 0 ? void 0 : configPort.color,
|
|
66
|
+
group: 'config',
|
|
67
|
+
id: configPort.id.toString(),
|
|
68
|
+
connected: !!inputPortConnectedMap["".concat(id.toString()).concat(configPort.id.toString())]
|
|
69
|
+
}));
|
|
70
|
+
});
|
|
71
|
+
}
|
|
61
72
|
return _objectSpread(_objectSpread({}, nodeData), {}, {
|
|
62
73
|
x: x,
|
|
63
74
|
y: y,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import "antd/es/form/style";
|
|
2
2
|
import _Form from "antd/es/form";
|
|
3
|
+
import "antd/es/upload/style";
|
|
4
|
+
import _Upload from "antd/es/upload";
|
|
3
5
|
import "antd/es/button/style";
|
|
4
6
|
import _Button from "antd/es/button";
|
|
5
7
|
/*
|
|
@@ -8,12 +10,14 @@ import _Button from "antd/es/button";
|
|
|
8
10
|
* @LastEditTime: 2022-07-08 08:57:41
|
|
9
11
|
*/
|
|
10
12
|
import React from 'react';
|
|
11
|
-
import { SettingOutlined } from '@ant-design/icons';
|
|
13
|
+
import { SettingOutlined, UploadOutlined } from '@ant-design/icons';
|
|
12
14
|
import { EditableContext } from '../interface';
|
|
15
|
+
import { tr } from '../../../framework/locale';
|
|
13
16
|
function Index(props) {
|
|
14
17
|
var dataIndex = props.dataIndex,
|
|
15
18
|
record = props.record,
|
|
16
|
-
disabled = props.disabled
|
|
19
|
+
disabled = props.disabled,
|
|
20
|
+
isUpload = props.isUpload;
|
|
17
21
|
var _ref = React.useContext(EditableContext) || undefined,
|
|
18
22
|
editableStream = _ref.editableStream,
|
|
19
23
|
editConfig = _ref.editConfig;
|
|
@@ -24,12 +28,34 @@ function Index(props) {
|
|
|
24
28
|
payload: record
|
|
25
29
|
});
|
|
26
30
|
};
|
|
31
|
+
var onUpload = function onUpload(option) {
|
|
32
|
+
editableStream && editableStream.next({
|
|
33
|
+
type: 'onUpload',
|
|
34
|
+
payload: {
|
|
35
|
+
record: record,
|
|
36
|
+
option: option
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
// 模拟上传过程
|
|
40
|
+
setTimeout(function () {
|
|
41
|
+
option.onSuccess();
|
|
42
|
+
}, 1000);
|
|
43
|
+
};
|
|
27
44
|
return /*#__PURE__*/React.createElement(_Form.Item, {
|
|
28
45
|
name: dataIndex,
|
|
29
46
|
style: {
|
|
30
47
|
margin: 0
|
|
31
48
|
}
|
|
49
|
+
}, isUpload ? /*#__PURE__*/React.createElement(_Upload, {
|
|
50
|
+
customRequest: onUpload,
|
|
51
|
+
multiple: true,
|
|
52
|
+
showUploadList: true
|
|
32
53
|
}, /*#__PURE__*/React.createElement(_Button, {
|
|
54
|
+
title: tr('上传'),
|
|
55
|
+
disabled: editConfig.type === 'edit' ? disabled : false,
|
|
56
|
+
size: "small",
|
|
57
|
+
icon: /*#__PURE__*/React.createElement(UploadOutlined, null)
|
|
58
|
+
})) : /*#__PURE__*/React.createElement(_Button, {
|
|
33
59
|
type: "link",
|
|
34
60
|
disabled: editConfig.type === 'edit' ? disabled : false,
|
|
35
61
|
onClick: onClick,
|
|
@@ -14,6 +14,7 @@ import { tr } from '../../../framework/locale';
|
|
|
14
14
|
var EditableAction = function EditableAction(props) {
|
|
15
15
|
var _editConfig$editCellK;
|
|
16
16
|
var type = props.type,
|
|
17
|
+
isNoRowDelete = props.isNoRowDelete,
|
|
17
18
|
record = props.record;
|
|
18
19
|
var _ref = React.useContext(EditableContext) || undefined,
|
|
19
20
|
editableStream = _ref.editableStream,
|
|
@@ -86,7 +87,7 @@ var EditableAction = function EditableAction(props) {
|
|
|
86
87
|
padding: 0,
|
|
87
88
|
marginRight: '10px'
|
|
88
89
|
}
|
|
89
|
-
}, tr('确定')))), /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
90
|
+
}, tr('确定')))), !isNoRowDelete && /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
90
91
|
placement: 'left',
|
|
91
92
|
title: tr('确认删除该条数据'),
|
|
92
93
|
onConfirm: onDelete,
|
|
@@ -7,7 +7,7 @@ var _excluded = ["record", "index", "className"];
|
|
|
7
7
|
/*
|
|
8
8
|
* @Author: wangxian
|
|
9
9
|
* @Date: 2022-03-04 10:01:10
|
|
10
|
-
* @LastEditTime:
|
|
10
|
+
* @LastEditTime: 2024-11-28 15:32:19
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import { useDrag, useDrop } from 'react-dnd';
|
|
@@ -43,7 +43,8 @@ var EditableRow = function EditableRow(props) {
|
|
|
43
43
|
drop: function drop(item, monitor) {
|
|
44
44
|
(restProps === null || restProps === void 0 ? void 0 : restProps.onMove) && (restProps === null || restProps === void 0 ? void 0 : restProps.onMove({
|
|
45
45
|
dragIndex: item.index,
|
|
46
|
-
hoverIndex: index
|
|
46
|
+
hoverIndex: index,
|
|
47
|
+
record: record
|
|
47
48
|
}));
|
|
48
49
|
}
|
|
49
50
|
}),
|
|
@@ -55,7 +55,7 @@ var Texty = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
55
55
|
var extraStyle = tooltipMaxWidth ? _objectSpread(_objectSpread({}, tooltipStyle), {}, {
|
|
56
56
|
maxWidth: tooltipMaxWidth
|
|
57
57
|
}) : tooltipStyle;
|
|
58
|
-
return /*#__PURE__*/ReactDom.createPortal(
|
|
58
|
+
return /*#__PURE__*/ReactDom.createPortal(/*#__PURE__*/React.createElement("div", {
|
|
59
59
|
ref: ref,
|
|
60
60
|
"data-texty-tooltip": placement,
|
|
61
61
|
className: tooltipClassName,
|
|
@@ -188,7 +188,6 @@ var Texty = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
188
188
|
return null;
|
|
189
189
|
// return <Tag { ...rest } ref={ this.setTargetRef } data-texty={ false } />;
|
|
190
190
|
}
|
|
191
|
-
|
|
192
191
|
var target = this.targetNode;
|
|
193
192
|
var isTruncated = !!target && target.scrollWidth > target.offsetWidth;
|
|
194
193
|
var showTooltip = this.state.isHovered && isTruncated;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
[data-texty] {
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: block;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
text-overflow: ellipsis;
|
|
6
|
-
white-space: nowrap;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
[data-texty-tooltip] {
|
|
10
|
-
padding: 4px 10px;
|
|
11
|
-
border-radius: 4px;
|
|
12
|
-
background-color: #222;
|
|
13
|
-
color: #fff;
|
|
14
|
-
z-index: 99999;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
[data-texty-arrow] {
|
|
18
|
-
position: absolute;
|
|
19
|
-
bottom: -6px;
|
|
20
|
-
width: 0;
|
|
21
|
-
height: 0;
|
|
22
|
-
border-style: solid;
|
|
23
|
-
border-width: 6px 6px 0;
|
|
24
|
-
border-color: #222 transparent transparent;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
[data-texty-arrow*='bottom'] {
|
|
28
|
-
top: -6px;
|
|
29
|
-
bottom: inherit;
|
|
30
|
-
transform: rotate(180deg);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* disable the builtin tooltip for truncated text on Safari */
|
|
34
|
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
35
|
-
@supports (not (-ms-ime-align: auto)) {
|
|
36
|
-
.EllipsisText::before {
|
|
37
|
-
content: '';
|
|
38
|
-
display: block;
|
|
39
|
-
width: 0;
|
|
40
|
-
height: 0;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
[data-texty] {
|
|
2
|
+
width: 100%;
|
|
3
|
+
display: block;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
text-overflow: ellipsis;
|
|
6
|
+
white-space: nowrap;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[data-texty-tooltip] {
|
|
10
|
+
padding: 4px 10px;
|
|
11
|
+
border-radius: 4px;
|
|
12
|
+
background-color: #222;
|
|
13
|
+
color: #fff;
|
|
14
|
+
z-index: 99999;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[data-texty-arrow] {
|
|
18
|
+
position: absolute;
|
|
19
|
+
bottom: -6px;
|
|
20
|
+
width: 0;
|
|
21
|
+
height: 0;
|
|
22
|
+
border-style: solid;
|
|
23
|
+
border-width: 6px 6px 0;
|
|
24
|
+
border-color: #222 transparent transparent;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-texty-arrow*='bottom'] {
|
|
28
|
+
top: -6px;
|
|
29
|
+
bottom: inherit;
|
|
30
|
+
transform: rotate(180deg);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* disable the builtin tooltip for truncated text on Safari */
|
|
34
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
35
|
+
@supports (not (-ms-ime-align: auto)) {
|
|
36
|
+
.EllipsisText::before {
|
|
37
|
+
content: '';
|
|
38
|
+
display: block;
|
|
39
|
+
width: 0;
|
|
40
|
+
height: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|