@steedos-widgets/reactflow 6.10.1-beta.58 → 6.10.1-beta.60

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/assets.json CHANGED
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/reactflow",
5
5
  "urls": [
6
- "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.58/dist/reactflow.umd.js",
7
- "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.58/dist/reactflow.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.60/dist/reactflow.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.60/dist/reactflow.umd.css"
8
8
  ],
9
9
  "library": "BuilderReactFlow"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/reactflow"
17
17
  },
18
- "url": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.58/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.60/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.58/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.58/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.60/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.60/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
package/dist/meta.js CHANGED
@@ -71,7 +71,7 @@
71
71
  ], amis: {
72
72
  render: {
73
73
  type: config.amis.name,
74
- usage: "formitem",
74
+ usage: "formitem", //使用renderer会无法监听到onEvent中配置的事件
75
75
  weight: 1,
76
76
  framework: "react"
77
77
  },
@@ -1,5 +1,8 @@
1
1
  /* this gets exported as style.css and can be used for the default theming */
2
2
  /* these are the necessary styles for React Flow, they get used by base.css and style.css */
3
+ .react-flow {
4
+ direction: ltr;
5
+ }
3
6
  .react-flow__container {
4
7
  position: absolute;
5
8
  width: 100%;
@@ -135,7 +138,7 @@
135
138
  border: 1px solid white;
136
139
  border-radius: 100%;
137
140
  }
138
- .react-flow__handle.connectable {
141
+ .react-flow__handle.connectionindicator {
139
142
  pointer-events: all;
140
143
  cursor: crosshair;
141
144
  }
@@ -297,9 +300,110 @@
297
300
  max-width: 12px;
298
301
  max-height: 12px;
299
302
  }
303
+ .react-flow__controls-button:disabled {
304
+ pointer-events: none;
305
+ }
306
+ .react-flow__controls-button:disabled svg {
307
+ fill-opacity: 0.4;
308
+ }
300
309
  .react-flow__minimap {
301
310
  background-color: #fff;
302
311
  }
312
+ .react-flow__minimap svg {
313
+ display: block;
314
+ }
315
+ .react-flow__resize-control {
316
+ position: absolute;
317
+ }
318
+ .react-flow__resize-control.left,
319
+ .react-flow__resize-control.right {
320
+ cursor: ew-resize;
321
+ }
322
+ .react-flow__resize-control.top,
323
+ .react-flow__resize-control.bottom {
324
+ cursor: ns-resize;
325
+ }
326
+ .react-flow__resize-control.top.left,
327
+ .react-flow__resize-control.bottom.right {
328
+ cursor: nwse-resize;
329
+ }
330
+ .react-flow__resize-control.bottom.left,
331
+ .react-flow__resize-control.top.right {
332
+ cursor: nesw-resize;
333
+ }
334
+ /* handle styles */
335
+ .react-flow__resize-control.handle {
336
+ width: 4px;
337
+ height: 4px;
338
+ border: 1px solid #fff;
339
+ border-radius: 1px;
340
+ background-color: #3367d9;
341
+ transform: translate(-50%, -50%);
342
+ }
343
+ .react-flow__resize-control.handle.left {
344
+ left: 0;
345
+ top: 50%;
346
+ }
347
+ .react-flow__resize-control.handle.right {
348
+ left: 100%;
349
+ top: 50%;
350
+ }
351
+ .react-flow__resize-control.handle.top {
352
+ left: 50%;
353
+ top: 0;
354
+ }
355
+ .react-flow__resize-control.handle.bottom {
356
+ left: 50%;
357
+ top: 100%;
358
+ }
359
+ .react-flow__resize-control.handle.top.left {
360
+ left: 0;
361
+ }
362
+ .react-flow__resize-control.handle.bottom.left {
363
+ left: 0;
364
+ }
365
+ .react-flow__resize-control.handle.top.right {
366
+ left: 100%;
367
+ }
368
+ .react-flow__resize-control.handle.bottom.right {
369
+ left: 100%;
370
+ }
371
+ /* line styles */
372
+ .react-flow__resize-control.line {
373
+ border-color: #3367d9;
374
+ border-width: 0;
375
+ border-style: solid;
376
+ }
377
+ .react-flow__resize-control.line.left,
378
+ .react-flow__resize-control.line.right {
379
+ width: 1px;
380
+ transform: translate(-50%, 0);
381
+ top: 0;
382
+ height: 100%;
383
+ }
384
+ .react-flow__resize-control.line.left {
385
+ left: 0;
386
+ border-left-width: 1px;
387
+ }
388
+ .react-flow__resize-control.line.right {
389
+ left: 100%;
390
+ border-right-width: 1px;
391
+ }
392
+ .react-flow__resize-control.line.top,
393
+ .react-flow__resize-control.line.bottom {
394
+ height: 1px;
395
+ transform: translate(0, -50%);
396
+ left: 0;
397
+ width: 100%;
398
+ }
399
+ .react-flow__resize-control.line.top {
400
+ top: 0;
401
+ border-top-width: 1px;
402
+ }
403
+ .react-flow__resize-control.line.bottom {
404
+ border-bottom-width: 1px;
405
+ top: 100%;
406
+ }
303
407
 
304
408
  .antd-Form-item .steedos-react-flow.h-full{
305
409
  /*