@flowgram.ai/free-layout-core 0.1.0-alpha.15 → 0.1.0-alpha.17

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,13 +1,12 @@
1
- export { i as LineCenterPoint, y as LineColor, z as LineColors, L as LineEventProps, l as LinePoint, x as LinePointLocation, p as LinePosition, n as LineRenderType, w as LineType, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, u as WorkflowContentChangeEvent, t as WorkflowContentChangeType, h as WorkflowJSON, o as WorkflowLineRenderContribution, A as WorkflowLineRenderContributionFactory, e as WorkflowNodeJSON, v as WorkflowNodeMeta, E as onDragLineEndParams } from '../workflow-line-entity-IbhMSbBs.mjs';
1
+ export { L as LineCenterPoint, x as LineColor, y as LineColors, g as LineEventProps, w as LinePoint, v as LinePointLocation, m as LinePosition, k as LineRenderType, u as LineType, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, s as WorkflowContentChangeEvent, r as WorkflowContentChangeType, W as WorkflowJSON, l as WorkflowLineRenderContribution, z as WorkflowLineRenderContributionFactory, h as WorkflowNodeJSON, t as WorkflowNodeMeta, A as WorkflowSubCanvas, E as onDragLineEndParams } from '../workflow-node-entity-B-9mEm2k.mjs';
2
2
  export { WorkflowEdgeJSON } from './workflow-edge.mjs';
3
3
  export { WorkflowNodeFormMeta, WorkflowNodeRegistry, WorkflowNodeRenderProps } from './workflow-registry.mjs';
4
- export { a as WorkflowSubCanvas } from '../workflow-sub-canvas-IQzlYvPD.mjs';
5
4
  export { NodePostionUpdateEvent, WorkflowOperationBaseService } from './workflow-operation.mjs';
6
- import '@flowgram.ai/utils';
7
- import '@flowgram.ai/core';
8
5
  import '@flowgram.ai/document';
9
- import '@flowgram.ai/form-core';
6
+ import '@flowgram.ai/core';
7
+ import '@flowgram.ai/utils';
10
8
  import 'react';
9
+ import '@flowgram.ai/form-core';
11
10
  import '@flowgram.ai/node';
12
11
 
13
12
  /**
@@ -1,13 +1,12 @@
1
- export { i as LineCenterPoint, y as LineColor, z as LineColors, L as LineEventProps, l as LinePoint, x as LinePointLocation, p as LinePosition, n as LineRenderType, w as LineType, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, u as WorkflowContentChangeEvent, t as WorkflowContentChangeType, h as WorkflowJSON, o as WorkflowLineRenderContribution, A as WorkflowLineRenderContributionFactory, e as WorkflowNodeJSON, v as WorkflowNodeMeta, E as onDragLineEndParams } from '../workflow-line-entity-DcecHiNc.js';
1
+ export { L as LineCenterPoint, x as LineColor, y as LineColors, g as LineEventProps, w as LinePoint, v as LinePointLocation, m as LinePosition, k as LineRenderType, u as LineType, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, s as WorkflowContentChangeEvent, r as WorkflowContentChangeType, W as WorkflowJSON, l as WorkflowLineRenderContribution, z as WorkflowLineRenderContributionFactory, h as WorkflowNodeJSON, t as WorkflowNodeMeta, A as WorkflowSubCanvas, E as onDragLineEndParams } from '../workflow-node-entity-DvBGZ5Ve.js';
2
2
  export { WorkflowEdgeJSON } from './workflow-edge.js';
3
3
  export { WorkflowNodeFormMeta, WorkflowNodeRegistry, WorkflowNodeRenderProps } from './workflow-registry.js';
4
- export { a as WorkflowSubCanvas } from '../workflow-sub-canvas-IQzlYvPD.js';
5
4
  export { NodePostionUpdateEvent, WorkflowOperationBaseService } from './workflow-operation.js';
6
- import '@flowgram.ai/utils';
7
- import '@flowgram.ai/core';
8
5
  import '@flowgram.ai/document';
9
- import '@flowgram.ai/form-core';
6
+ import '@flowgram.ai/core';
7
+ import '@flowgram.ai/utils';
10
8
  import 'react';
9
+ import '@flowgram.ai/form-core';
11
10
  import '@flowgram.ai/node';
12
11
 
13
12
  /**
@@ -2,7 +2,6 @@ import 'react';
2
2
  import '@flowgram.ai/utils';
3
3
  import '@flowgram.ai/document';
4
4
  import '@flowgram.ai/core';
5
- export { L as LineEventProps, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, E as onDragLineEndParams } from '../workflow-line-entity-IbhMSbBs.mjs';
6
- import '../workflow-sub-canvas-IQzlYvPD.mjs';
5
+ export { g as LineEventProps, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, E as onDragLineEndParams } from '../workflow-node-entity-B-9mEm2k.mjs';
7
6
  import '@flowgram.ai/form-core';
8
7
  import './workflow-edge.mjs';
@@ -2,7 +2,6 @@ import 'react';
2
2
  import '@flowgram.ai/utils';
3
3
  import '@flowgram.ai/document';
4
4
  import '@flowgram.ai/core';
5
- export { L as LineEventProps, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, E as onDragLineEndParams } from '../workflow-line-entity-DcecHiNc.js';
6
- import '../workflow-sub-canvas-IQzlYvPD.js';
5
+ export { g as LineEventProps, C as NodesDragEndEvent, N as NodesDragEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, O as OnDragLineEnd, E as onDragLineEndParams } from '../workflow-node-entity-DvBGZ5Ve.js';
7
6
  import '@flowgram.ai/form-core';
8
7
  import './workflow-edge.js';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/typings/workflow-drag.ts"],"sourcesContent":["/**\n * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates\n * SPDX-License-Identifier: MIT\n */\n\nimport type React from 'react';\n\nimport { type PositionSchema } from '@flowgram.ai/utils';\nimport { type FlowNodeEntity } from '@flowgram.ai/document';\nimport { PlaygroundDrag, type PlaygroundDragEvent } from '@flowgram.ai/core';\n\nimport { type WorkflowLineEntity, type WorkflowPortEntity } from '../entities';\n\nexport interface LineEventProps {\n type: 'onDrag' | 'onDragEnd';\n onDragNodeId?: string;\n event?: MouseEvent;\n}\n\ninterface INodesDragEvent {\n type: string;\n nodes: FlowNodeEntity[];\n startPositions: PositionSchema[];\n dragEvent: PlaygroundDragEvent;\n triggerEvent: MouseEvent | React.MouseEvent;\n dragger: PlaygroundDrag;\n}\n\nexport interface NodesDragStartEvent extends INodesDragEvent {\n type: 'onDragStart';\n}\n\nexport interface NodesDragEndEvent extends INodesDragEvent {\n type: 'onDragEnd';\n}\n\nexport interface NodesDraggingEvent extends INodesDragEvent {\n type: 'onDragging';\n positions: PositionSchema[];\n}\n\nexport type NodesDragEvent = NodesDragStartEvent | NodesDraggingEvent | NodesDragEndEvent;\n\nexport type onDragLineEndParams = {\n fromPort: WorkflowPortEntity;\n toPort?: WorkflowPortEntity;\n mousePos: PositionSchema;\n line?: WorkflowLineEntity;\n originLine?: WorkflowLineEntity;\n event: PlaygroundDragEvent;\n};\n\nexport type OnDragLineEnd = (params: onDragLineEndParams) => Promise<void>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/typings/workflow-drag.ts"],"sourcesContent":["/**\n * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates\n * SPDX-License-Identifier: MIT\n */\n\nimport type React from 'react';\n\nimport { type PositionSchema } from '@flowgram.ai/utils';\nimport { type FlowNodeEntity } from '@flowgram.ai/document';\nimport { PlaygroundDrag, type PlaygroundDragEvent } from '@flowgram.ai/core';\n\nimport { type WorkflowLineEntity, type WorkflowPortEntity } from '../entities';\n\nexport interface LineEventProps {\n type: 'onDrag' | 'onDragEnd';\n onDragNodeId?: string;\n event?: MouseEvent;\n}\n\ninterface INodesDragEvent {\n type: string;\n nodes: FlowNodeEntity[];\n startPositions: PositionSchema[];\n dragEvent: PlaygroundDragEvent;\n triggerEvent: MouseEvent | React.MouseEvent;\n dragger: PlaygroundDrag;\n}\n\nexport interface NodesDragStartEvent extends INodesDragEvent {\n type: 'onDragStart';\n}\n\nexport interface NodesDragEndEvent extends INodesDragEvent {\n type: 'onDragEnd';\n}\n\nexport interface NodesDraggingEvent extends INodesDragEvent {\n type: 'onDragging';\n positions: PositionSchema[];\n}\n\nexport type NodesDragEvent = NodesDragStartEvent | NodesDraggingEvent | NodesDragEndEvent;\n\nexport type onDragLineEndParams = {\n fromPort?: WorkflowPortEntity;\n toPort?: WorkflowPortEntity;\n mousePos: PositionSchema;\n line?: WorkflowLineEntity;\n originLine?: WorkflowLineEntity;\n event: PlaygroundDragEvent;\n};\n\nexport type OnDragLineEnd = (params: onDragLineEndParams) => Promise<void>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -1,8 +1,7 @@
1
- import '../workflow-sub-canvas-IQzlYvPD.mjs';
2
- export { u as WorkflowContentChangeEvent, t as WorkflowContentChangeType, h as WorkflowJSON } from '../workflow-line-entity-IbhMSbBs.mjs';
1
+ export { s as WorkflowContentChangeEvent, r as WorkflowContentChangeType, W as WorkflowJSON } from '../workflow-node-entity-B-9mEm2k.mjs';
3
2
  import './workflow-edge.mjs';
4
3
  import '@flowgram.ai/document';
5
- import '@flowgram.ai/utils';
6
4
  import '@flowgram.ai/core';
7
- import '@flowgram.ai/form-core';
5
+ import '@flowgram.ai/utils';
8
6
  import 'react';
7
+ import '@flowgram.ai/form-core';
@@ -1,8 +1,7 @@
1
- import '../workflow-sub-canvas-IQzlYvPD.js';
2
- export { u as WorkflowContentChangeEvent, t as WorkflowContentChangeType, h as WorkflowJSON } from '../workflow-line-entity-DcecHiNc.js';
1
+ export { s as WorkflowContentChangeEvent, r as WorkflowContentChangeType, W as WorkflowJSON } from '../workflow-node-entity-DvBGZ5Ve.js';
3
2
  import './workflow-edge.js';
4
3
  import '@flowgram.ai/document';
5
- import '@flowgram.ai/utils';
6
4
  import '@flowgram.ai/core';
7
- import '@flowgram.ai/form-core';
5
+ import '@flowgram.ai/utils';
8
6
  import 'react';
7
+ import '@flowgram.ai/form-core';
@@ -1,8 +1,7 @@
1
1
  import '@flowgram.ai/utils';
2
- export { i as LineCenterPoint, y as LineColor, z as LineColors, l as LinePoint, x as LinePointLocation, p as LinePosition, n as LineRenderType, w as LineType, o as WorkflowLineRenderContribution, A as WorkflowLineRenderContributionFactory } from '../workflow-line-entity-IbhMSbBs.mjs';
3
- import '@flowgram.ai/core';
2
+ export { L as LineCenterPoint, x as LineColor, y as LineColors, w as LinePoint, v as LinePointLocation, m as LinePosition, k as LineRenderType, u as LineType, l as WorkflowLineRenderContribution, z as WorkflowLineRenderContributionFactory } from '../workflow-node-entity-B-9mEm2k.mjs';
4
3
  import '@flowgram.ai/document';
5
- import '../workflow-sub-canvas-IQzlYvPD.mjs';
4
+ import '@flowgram.ai/core';
5
+ import 'react';
6
6
  import '@flowgram.ai/form-core';
7
7
  import './workflow-edge.mjs';
8
- import 'react';
@@ -1,8 +1,7 @@
1
1
  import '@flowgram.ai/utils';
2
- export { i as LineCenterPoint, y as LineColor, z as LineColors, l as LinePoint, x as LinePointLocation, p as LinePosition, n as LineRenderType, w as LineType, o as WorkflowLineRenderContribution, A as WorkflowLineRenderContributionFactory } from '../workflow-line-entity-DcecHiNc.js';
3
- import '@flowgram.ai/core';
2
+ export { L as LineCenterPoint, x as LineColor, y as LineColors, w as LinePoint, v as LinePointLocation, m as LinePosition, k as LineRenderType, u as LineType, l as WorkflowLineRenderContribution, z as WorkflowLineRenderContributionFactory } from '../workflow-node-entity-DvBGZ5Ve.js';
4
3
  import '@flowgram.ai/document';
5
- import '../workflow-sub-canvas-IQzlYvPD.js';
4
+ import '@flowgram.ai/core';
5
+ import 'react';
6
6
  import '@flowgram.ai/form-core';
7
7
  import './workflow-edge.js';
8
- import 'react';
@@ -1,8 +1,7 @@
1
1
  import '@flowgram.ai/utils';
2
2
  import '@flowgram.ai/document';
3
- import '../workflow-sub-canvas-IQzlYvPD.mjs';
4
- export { e as WorkflowNodeJSON, v as WorkflowNodeMeta } from '../workflow-line-entity-IbhMSbBs.mjs';
3
+ export { h as WorkflowNodeJSON, t as WorkflowNodeMeta } from '../workflow-node-entity-B-9mEm2k.mjs';
5
4
  import './workflow-edge.mjs';
6
5
  import '@flowgram.ai/core';
7
- import '@flowgram.ai/form-core';
8
6
  import 'react';
7
+ import '@flowgram.ai/form-core';
@@ -1,8 +1,7 @@
1
1
  import '@flowgram.ai/utils';
2
2
  import '@flowgram.ai/document';
3
- import '../workflow-sub-canvas-IQzlYvPD.js';
4
- export { e as WorkflowNodeJSON, v as WorkflowNodeMeta } from '../workflow-line-entity-DcecHiNc.js';
3
+ export { h as WorkflowNodeJSON, t as WorkflowNodeMeta } from '../workflow-node-entity-DvBGZ5Ve.js';
5
4
  import './workflow-edge.js';
6
5
  import '@flowgram.ai/core';
7
- import '@flowgram.ai/form-core';
8
6
  import 'react';
7
+ import '@flowgram.ai/form-core';
@@ -1,12 +1,11 @@
1
1
  import { FormMeta } from '@flowgram.ai/node';
2
2
  import { FormMetaOrFormMetaGenerator } from '@flowgram.ai/form-core';
3
3
  import { FlowNodeRegistry } from '@flowgram.ai/document';
4
- import { W as WorkflowNodeEntity } from '../workflow-sub-canvas-IQzlYvPD.mjs';
5
- import { v as WorkflowNodeMeta, f as WorkflowPortEntity, b as WorkflowLinesManager } from '../workflow-line-entity-IbhMSbBs.mjs';
6
- import '@flowgram.ai/utils';
4
+ import { t as WorkflowNodeMeta, i as WorkflowPortEntity, d as WorkflowLinesManager, b as WorkflowNodeEntity } from '../workflow-node-entity-B-9mEm2k.mjs';
7
5
  import '@flowgram.ai/core';
8
- import './workflow-edge.mjs';
6
+ import '@flowgram.ai/utils';
9
7
  import 'react';
8
+ import './workflow-edge.mjs';
10
9
 
11
10
  /**
12
11
  * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
@@ -1,12 +1,11 @@
1
1
  import { FormMeta } from '@flowgram.ai/node';
2
2
  import { FormMetaOrFormMetaGenerator } from '@flowgram.ai/form-core';
3
3
  import { FlowNodeRegistry } from '@flowgram.ai/document';
4
- import { W as WorkflowNodeEntity } from '../workflow-sub-canvas-IQzlYvPD.js';
5
- import { v as WorkflowNodeMeta, f as WorkflowPortEntity, b as WorkflowLinesManager } from '../workflow-line-entity-DcecHiNc.js';
6
- import '@flowgram.ai/utils';
4
+ import { t as WorkflowNodeMeta, i as WorkflowPortEntity, d as WorkflowLinesManager, b as WorkflowNodeEntity } from '../workflow-node-entity-DvBGZ5Ve.js';
7
5
  import '@flowgram.ai/core';
8
- import './workflow-edge.js';
6
+ import '@flowgram.ai/utils';
9
7
  import 'react';
8
+ import './workflow-edge.js';
10
9
 
11
10
  /**
12
11
  * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
@@ -1,2 +1,7 @@
1
- export { a as WorkflowSubCanvas } from '../workflow-sub-canvas-IQzlYvPD.mjs';
1
+ export { A as WorkflowSubCanvas } from '../workflow-node-entity-B-9mEm2k.mjs';
2
2
  import '@flowgram.ai/document';
3
+ import '@flowgram.ai/core';
4
+ import '@flowgram.ai/utils';
5
+ import 'react';
6
+ import '@flowgram.ai/form-core';
7
+ import './workflow-edge.mjs';
@@ -1,2 +1,7 @@
1
- export { a as WorkflowSubCanvas } from '../workflow-sub-canvas-IQzlYvPD.js';
1
+ export { A as WorkflowSubCanvas } from '../workflow-node-entity-DvBGZ5Ve.js';
2
2
  import '@flowgram.ai/document';
3
+ import '@flowgram.ai/core';
4
+ import '@flowgram.ai/utils';
5
+ import 'react';
6
+ import '@flowgram.ai/form-core';
7
+ import './workflow-edge.js';