@rxflow/base 0.0.1-alpha.9 → 0.0.2-alpha.0
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/cjs/Flow.d.ts.map +1 -1
- package/cjs/Flow.js +3 -1
- package/esm/Flow.d.ts.map +1 -1
- package/esm/Flow.js +3 -1
- package/package.json +2 -2
package/cjs/Flow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["Flow.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAQvC,OAAO,EAGL,IAAI,EAGJ,IAAI,EAOL,MAAM,eAAe,CAAC;AAavB,OAAO,cAAc,CAAC;AAMtB,wBAAgB,IAAI,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["Flow.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAQvC,OAAO,EAGL,IAAI,EAGJ,IAAI,EAOL,MAAM,eAAe,CAAC;AAavB,OAAO,cAAc,CAAC;AAMtB,wBAAgB,IAAI,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,2CAsPzH"}
|
package/cjs/Flow.js
CHANGED
|
@@ -46,6 +46,7 @@ function Flow(props) {
|
|
|
46
46
|
showControls = true,
|
|
47
47
|
// 默认开启
|
|
48
48
|
controlsPosition = 'top-right',
|
|
49
|
+
controlsOrientation,
|
|
49
50
|
showMiniMap,
|
|
50
51
|
showLegend,
|
|
51
52
|
background = '#F2F7FAFF',
|
|
@@ -227,7 +228,8 @@ function Flow(props) {
|
|
|
227
228
|
onZoomOut: onZoomOut,
|
|
228
229
|
onZoomIn: onZoomIn,
|
|
229
230
|
onInteractiveChange: onInteractiveChange,
|
|
230
|
-
children: customControls
|
|
231
|
+
children: customControls,
|
|
232
|
+
orientation: controlsOrientation
|
|
231
233
|
}), showLegend && /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Legend, {
|
|
232
234
|
showLegend: showLegend
|
|
233
235
|
}), children]
|
package/esm/Flow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["Flow.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAQvC,OAAO,EAGL,IAAI,EAGJ,IAAI,EAOL,MAAM,eAAe,CAAC;AAavB,OAAO,cAAc,CAAC;AAMtB,wBAAgB,IAAI,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["Flow.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAQvC,OAAO,EAGL,IAAI,EAGJ,IAAI,EAOL,MAAM,eAAe,CAAC;AAavB,OAAO,cAAc,CAAC;AAMtB,wBAAgB,IAAI,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,2CAsPzH"}
|
package/esm/Flow.js
CHANGED
|
@@ -58,6 +58,7 @@ export function Flow(props) {
|
|
|
58
58
|
showControls = _props$showControls === void 0 ? true : _props$showControls,
|
|
59
59
|
_props$controlsPositi = props.controlsPosition,
|
|
60
60
|
controlsPosition = _props$controlsPositi === void 0 ? 'top-right' : _props$controlsPositi,
|
|
61
|
+
controlsOrientation = props.controlsOrientation,
|
|
61
62
|
showMiniMap = props.showMiniMap,
|
|
62
63
|
showLegend = props.showLegend,
|
|
63
64
|
_props$background = props.background,
|
|
@@ -242,7 +243,8 @@ export function Flow(props) {
|
|
|
242
243
|
onZoomOut: onZoomOut,
|
|
243
244
|
onZoomIn: onZoomIn,
|
|
244
245
|
onInteractiveChange: onInteractiveChange,
|
|
245
|
-
children: customControls
|
|
246
|
+
children: customControls,
|
|
247
|
+
orientation: controlsOrientation
|
|
246
248
|
}), showLegend && /*#__PURE__*/_jsx(Legend, {
|
|
247
249
|
showLegend: showLegend
|
|
248
250
|
}), children]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxflow/base",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-alpha.0",
|
|
4
4
|
"description": "BaseFlow - 核心 Flow 组件库",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reactflow",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@ant-design/icons": "^6.0.0",
|
|
44
44
|
"@antv/hierarchy": "0.6.14",
|
|
45
|
-
"@rxflow/manhattan": "^0.0.
|
|
45
|
+
"@rxflow/manhattan": "^0.0.2-alpha.0",
|
|
46
46
|
"@xyflow/react": "^12.8.6",
|
|
47
47
|
"@xyflow/system": "^0.0.70",
|
|
48
48
|
"@zumer/snapdom": "^1.9.9",
|