@steedos-widgets/reactflow 6.3.13-beta.9 → 6.3.14

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.
@@ -1,314 +0,0 @@
1
- /* this gets exported as style.css and can be used for the default theming */
2
- /* these are the necessary styles for React Flow, they get used by base.css and style.css */
3
- .react-flow__container {
4
- position: absolute;
5
- width: 100%;
6
- height: 100%;
7
- top: 0;
8
- left: 0;
9
- }
10
- .react-flow__pane {
11
- z-index: 1;
12
- cursor: -webkit-grab;
13
- cursor: grab;
14
- }
15
- .react-flow__pane.selection {
16
- cursor: pointer;
17
- }
18
- .react-flow__pane.dragging {
19
- cursor: -webkit-grabbing;
20
- cursor: grabbing;
21
- }
22
- .react-flow__viewport {
23
- transform-origin: 0 0;
24
- z-index: 2;
25
- pointer-events: none;
26
- }
27
- .react-flow__renderer {
28
- z-index: 4;
29
- }
30
- .react-flow__selection {
31
- z-index: 6;
32
- }
33
- .react-flow__nodesselection-rect:focus,
34
- .react-flow__nodesselection-rect:focus-visible {
35
- outline: none;
36
- }
37
- .react-flow .react-flow__edges {
38
- pointer-events: none;
39
- overflow: visible;
40
- }
41
- .react-flow__edge-path,
42
- .react-flow__connection-path {
43
- stroke: #b1b1b7;
44
- stroke-width: 1;
45
- fill: none;
46
- }
47
- .react-flow__edge {
48
- pointer-events: visibleStroke;
49
- cursor: pointer;
50
- }
51
- .react-flow__edge.animated path {
52
- stroke-dasharray: 5;
53
- -webkit-animation: dashdraw 0.5s linear infinite;
54
- animation: dashdraw 0.5s linear infinite;
55
- }
56
- .react-flow__edge.animated path.react-flow__edge-interaction {
57
- stroke-dasharray: none;
58
- -webkit-animation: none;
59
- animation: none;
60
- }
61
- .react-flow__edge.inactive {
62
- pointer-events: none;
63
- }
64
- .react-flow__edge.selected,
65
- .react-flow__edge:focus,
66
- .react-flow__edge:focus-visible {
67
- outline: none;
68
- }
69
- .react-flow__edge.selected .react-flow__edge-path,
70
- .react-flow__edge:focus .react-flow__edge-path,
71
- .react-flow__edge:focus-visible .react-flow__edge-path {
72
- stroke: #555;
73
- }
74
- .react-flow__edge-textwrapper {
75
- pointer-events: all;
76
- }
77
- .react-flow__edge-textbg {
78
- fill: white;
79
- }
80
- .react-flow__edge .react-flow__edge-text {
81
- pointer-events: none;
82
- -webkit-user-select: none;
83
- -moz-user-select: none;
84
- user-select: none;
85
- }
86
- .react-flow__connection {
87
- pointer-events: none;
88
- }
89
- .react-flow__connection .animated {
90
- stroke-dasharray: 5;
91
- -webkit-animation: dashdraw 0.5s linear infinite;
92
- animation: dashdraw 0.5s linear infinite;
93
- }
94
- .react-flow__connectionline {
95
- z-index: 1001;
96
- }
97
- .react-flow__nodes {
98
- pointer-events: none;
99
- transform-origin: 0 0;
100
- }
101
- .react-flow__node {
102
- position: absolute;
103
- -webkit-user-select: none;
104
- -moz-user-select: none;
105
- user-select: none;
106
- pointer-events: all;
107
- transform-origin: 0 0;
108
- box-sizing: border-box;
109
- cursor: -webkit-grab;
110
- cursor: grab;
111
- }
112
- .react-flow__node.dragging {
113
- cursor: -webkit-grabbing;
114
- cursor: grabbing;
115
- }
116
- .react-flow__nodesselection {
117
- z-index: 3;
118
- transform-origin: left top;
119
- pointer-events: none;
120
- }
121
- .react-flow__nodesselection-rect {
122
- position: absolute;
123
- pointer-events: all;
124
- cursor: -webkit-grab;
125
- cursor: grab;
126
- }
127
- .react-flow__handle {
128
- position: absolute;
129
- pointer-events: none;
130
- min-width: 5px;
131
- min-height: 5px;
132
- width: 6px;
133
- height: 6px;
134
- background: #1a192b;
135
- border: 1px solid white;
136
- border-radius: 100%;
137
- }
138
- .react-flow__handle.connectable {
139
- pointer-events: all;
140
- cursor: crosshair;
141
- }
142
- .react-flow__handle-bottom {
143
- top: auto;
144
- left: 50%;
145
- bottom: -4px;
146
- transform: translate(-50%, 0);
147
- }
148
- .react-flow__handle-top {
149
- left: 50%;
150
- top: -4px;
151
- transform: translate(-50%, 0);
152
- }
153
- .react-flow__handle-left {
154
- top: 50%;
155
- left: -4px;
156
- transform: translate(0, -50%);
157
- }
158
- .react-flow__handle-right {
159
- right: -4px;
160
- top: 50%;
161
- transform: translate(0, -50%);
162
- }
163
- .react-flow__edgeupdater {
164
- cursor: move;
165
- pointer-events: all;
166
- }
167
- .react-flow__panel {
168
- position: absolute;
169
- z-index: 5;
170
- margin: 15px;
171
- }
172
- .react-flow__panel.top {
173
- top: 0;
174
- }
175
- .react-flow__panel.bottom {
176
- bottom: 0;
177
- }
178
- .react-flow__panel.left {
179
- left: 0;
180
- }
181
- .react-flow__panel.right {
182
- right: 0;
183
- }
184
- .react-flow__panel.center {
185
- left: 50%;
186
- transform: translateX(-50%);
187
- }
188
- .react-flow__attribution {
189
- font-size: 10px;
190
- background: rgba(255, 255, 255, 0.5);
191
- padding: 2px 3px;
192
- margin: 0;
193
- }
194
- .react-flow__attribution a {
195
- text-decoration: none;
196
- color: #999;
197
- }
198
- @-webkit-keyframes dashdraw {
199
- from {
200
- stroke-dashoffset: 10;
201
- }
202
- }
203
- @keyframes dashdraw {
204
- from {
205
- stroke-dashoffset: 10;
206
- }
207
- }
208
- .react-flow__edgelabel-renderer {
209
- position: absolute;
210
- width: 100%;
211
- height: 100%;
212
- pointer-events: none;
213
- -webkit-user-select: none;
214
- -moz-user-select: none;
215
- user-select: none;
216
- }
217
- .react-flow__edge.updating .react-flow__edge-path {
218
- stroke: #777;
219
- }
220
- .react-flow__edge-text {
221
- font-size: 10px;
222
- }
223
- .react-flow__node.selectable:focus,
224
- .react-flow__node.selectable:focus-visible {
225
- outline: none;
226
- }
227
- .react-flow__node-default,
228
- .react-flow__node-input,
229
- .react-flow__node-output,
230
- .react-flow__node-group {
231
- padding: 10px;
232
- border-radius: 3px;
233
- width: 150px;
234
- font-size: 12px;
235
- color: #222;
236
- text-align: center;
237
- border-width: 1px;
238
- border-style: solid;
239
- border-color: #1a192b;
240
- background-color: white;
241
- }
242
- .react-flow__node-default.selectable:hover, .react-flow__node-input.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
243
- box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
244
- }
245
- .react-flow__node-default.selectable.selected,
246
- .react-flow__node-default.selectable:focus,
247
- .react-flow__node-default.selectable:focus-visible,
248
- .react-flow__node-input.selectable.selected,
249
- .react-flow__node-input.selectable:focus,
250
- .react-flow__node-input.selectable:focus-visible,
251
- .react-flow__node-output.selectable.selected,
252
- .react-flow__node-output.selectable:focus,
253
- .react-flow__node-output.selectable:focus-visible,
254
- .react-flow__node-group.selectable.selected,
255
- .react-flow__node-group.selectable:focus,
256
- .react-flow__node-group.selectable:focus-visible {
257
- box-shadow: 0 0 0 0.5px #1a192b;
258
- }
259
- .react-flow__node-group {
260
- background-color: rgba(240, 240, 240, 0.25);
261
- }
262
- .react-flow__nodesselection-rect,
263
- .react-flow__selection {
264
- background: rgba(0, 89, 220, 0.08);
265
- border: 1px dotted rgba(0, 89, 220, 0.8);
266
- }
267
- .react-flow__nodesselection-rect:focus,
268
- .react-flow__nodesselection-rect:focus-visible,
269
- .react-flow__selection:focus,
270
- .react-flow__selection:focus-visible {
271
- outline: none;
272
- }
273
- .react-flow__controls {
274
- box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.08);
275
- }
276
- .react-flow__controls-button {
277
- border: none;
278
- background: #fefefe;
279
- border-bottom: 1px solid #eee;
280
- box-sizing: content-box;
281
- display: flex;
282
- justify-content: center;
283
- align-items: center;
284
- width: 16px;
285
- height: 16px;
286
- cursor: pointer;
287
- -webkit-user-select: none;
288
- -moz-user-select: none;
289
- user-select: none;
290
- padding: 5px;
291
- }
292
- .react-flow__controls-button:hover {
293
- background: #f4f4f4;
294
- }
295
- .react-flow__controls-button svg {
296
- width: 100%;
297
- max-width: 12px;
298
- max-height: 12px;
299
- }
300
- .react-flow__minimap {
301
- background-color: #fff;
302
- }
303
-
304
- .antd-Form-item .steedos-react-flow.h-full{
305
- /*
306
- 组件作为formitem而不是renderer模式时,外面会包一层form-item div,造成react flow组件高度100%无效
307
- 把h-full设置为以下值可以有满屏效果
308
- */
309
- height: calc(100vh - 120px);
310
- }
311
- #__next .ae-Editor .ae-Preview-body .ae-Preview-inner .steedos-react-flow.h-full{
312
- /*设计器中height 100%无效,把h-full设置为以下值可以有满屏效果*/
313
- height: calc(100vh - 165px);
314
- }