299 Commits

Author SHA1 Message Date
xiamidaxia
ec6e5abe23
docs: free-layout-simple docs error (#245)
* chore: simple-layout-demo add cross-env

* docs: free-layout-simple docs error
v0.1.29
2025-05-19 07:52:36 +00:00
xiamidaxia
766fdc1597
fix: flowDocument fromJSON will reload the node json data (#240)
* fix: flowDocument fromJSON update node data

* feat: getNodeForm add updateFormValues
2025-05-16 12:25:26 +00:00
xiamidaxia
d9e805b167
feat: add vite demo and flowDocument disposed check (#234)
* feat(demo): add demo vite

* feat: flowDocument disposed check

* chore: demo-vite config

* chore: demo-vite lint config
2025-05-15 13:35:57 +00:00
xiamidaxia
bad840bf7b
fix(demo): fixedlayout trycatch add error (#233) 2025-05-15 10:54:31 +00:00
Louis Young
fe8e57d769
fix(demo): comment node render problem in docs (#229) 2025-05-14 09:40:37 +00:00
Yiwei Mao
8d3f37b4ec
docs(materials): init materials docs (#222) v0.1.28 2025-05-13 10:12:35 +00:00
Louis Young
805b262260
fix(group): auto layout adapts group (#223)
* fix(group): line inside multi-layer nested group cannot be selected

* feat(group): auto layout adapts group

* docs: update free-layout-demo example image

* chore(demo): update initial data

* feat(container): removeNodeLines api set to public
2025-05-13 10:12:23 +00:00
xiamidaxia
de3c5daa5b
feat(fixed-layout): add simple-split node (#224)
* feat(fixed-layout): add simple-split node

* fix(fixed-layout): svg overflow visible
2025-05-13 10:12:06 +00:00
xiamidaxia
a98244c6a3
Feat/support react 16 (#221)
* chore: support react 16

* chore: support react 16
2025-05-13 06:16:00 +00:00
Yiwei Mao
c11a995040
fix(material): json schema editor controlled by value (#214)
* feat: install material directly from form-materials

* fix(material): json schema editor controlled by value
2025-05-12 08:32:52 +00:00
xiamidaxia
6e2e67fb3e
feat(demo): workflow running style support (#213) v0.1.27 2025-05-12 07:52:40 +00:00
Yiwei Mao
e2e80efb7a
docs(variable): reorganize variable docs, add global scope, output multiple variables (#212) 2025-05-12 07:07:01 +00:00
Yiwei Mao
b40a9eeddf
feat(docs): add auto translate scripts for docs (#205) 2025-05-09 09:21:08 +00:00
Yiwei Mao
95f5225660
fix: npx @flowgram.ai/form-materials cli (#203)
* fix: npx @flowgram.ai/form-materials cli

* docs: image size
2025-05-09 07:01:50 +00:00
chenjiawei.inizio
d82bbe219b
chore: update readme contact (#200) 2025-05-08 15:23:04 +00:00
Yiwei Mao
79e4bb0556
feat(material): form materials and add scripts (#196) v0.1.26 2025-05-08 12:06:49 +00:00
Louis Young
19ff04abc7
feat(free-demo): support create nodes group (#185)
* feat(demo): create group tool

* feat(demo): create group shortcut

* refactor(core): split group service, controller, utils files

* feat(history): free history add group operations

* feat(demo): group node render

* feat(demo): group node registry

* refactor(stack): remove layer computing config

* feat(stack): line stackIndex cannot be recalculated by default

* feat(demo): group title & color palette acess form

* feat(demo): ungroup button & shortcut

* feat(demo): create group & ungroup operation register to free history service

* refactor(group): group shortcuts move to group-plugin

* refactor(group): group node render move to group-plugin

* fix(group): undo/redo of create node or ungroup not work

* perf(history): free history remove async operation

* feat(group): trigger select box inside group

* fix(group): container inside group

* fix(group): auto layout should not be affected by group node

* feat(container): support multi-layer nested containers

* fix(group): group css variables overwrite each other

* fix(container): node move in or out group shouldn't clear lines

* feat(demo): node should follow mouse after move out container button clicked

* feat(container): disable group move to non-group container node

* fix(container): cross-level node moving causing coord offset

* feat(demo): comment node support more button

* fix(demo): comment in container fromJSON

* feat(container): node into container show move out tips

* feat(group): node into group show move out tips

* feat(group): delete group when blocks is empty

* refactor(group): createFreeGroupPlugin move to container-plugin

* refactor(demo): replace disablePorts with defaultPorts

* fix(demo): react warning

* refactor(group): group plugin built-in GroupNodeRegistry

* refactor(group): create free-group-plugin

* fix(ci): lock & ts-check & test errors
2025-05-07 13:21:34 +00:00
chenjiawei.inizio
8c0f007127
chore: polyfill win & eslint config fix (#192)
* fix: polyfill win

* fix: demo nextjs eslint
v0.1.25
2025-05-06 08:55:02 +00:00
Louis Young
14b82d3128
perf(layer): browser coordinate precision causing repeated coordinate updates (#187) 2025-05-06 03:56:18 +00:00
Louis Young
9c3384227f
fix(demo): commandService.executeCommand not work (#184) 2025-04-30 05:08:32 +00:00
Yiwei Mao
202c06040e
feat(variable): global variable scope (#182) 2025-04-28 02:55:24 +00:00
Louis Young
4a6e7a736f
fix(line): lines not re-rendering after hover (#181) 2025-04-27 08:55:59 +00:00
Yiwei Mao
311180b2c8
chore: hide useless api in variable engine (#180)
* chore: hide useless api in variable engine

* fix: variable-core mock chain ts check
2025-04-27 03:54:53 +00:00
Yiwei Mao
a899340f66
fix(demo): when title changed, sync variable as well (#178) 2025-04-25 09:58:13 +00:00
chenjiawei.inizio
f98f44cbc9
fix: eslint format on save (#177) 2025-04-25 09:34:33 +00:00
xiamidaxia
02a70f4b48
fix: fixed-layout dragging adder materials check canDrop (#163) 2025-04-25 07:06:41 +00:00
xiamidaxia
61c7ad1a7a
fix(demo-free): create copy error (#174) 2025-04-25 06:58:34 +00:00
Louis Young
cb942616ab
fix(line): hover detection of the fold line (#167) v0.1.0-alpha.7 v0.1.24 2025-04-23 04:30:58 +00:00
Louis Young
1887d53ce9
fix(free-demo): comment sync value between editor model & form data (#166)
* fix(demo): sync value between editor model & form data

* feat(demo): comment node added to inital data
2025-04-22 11:50:15 +00:00
Louis Young
88f7ccae37
feat(free-demo): support comment node (#165)
* feat(demo): comment node render component

* feat(demo): comment node register to editor

* feat(demo): comment node editor component

* feat(demo): comment node editor placeholder

* feat(demo): toolbar create comment node

* fix(demo): scrolling issue when comment loses focus
2025-04-22 10:10:22 +00:00
xiamidaxia
0bd90c2fce
fix(demo): fixed layout demo node delete check (#162) 2025-04-21 13:22:40 +00:00
Louis Young
e9c654935f
feat(free-demo): enhance copy and paste shortcut capabilities (#161)
* chore(demo): define enum workflow node type

* feat(demo): workflow copy shortcut

* feat(demo): workflow paste shortcut

* feat(demo): workflow rest built-in shortcuts

* fix(history): remove delay after node delete

* fix(demo): paste to container need adjust node position

* fix(core): reset selection after node deleted

* feat(demo): add en comments to shortcut code

* fix(ci): tsc error
2025-04-21 11:41:51 +00:00
xiamidaxia
73da61abcf
fix(demo): fixed-layout demo block validate (#159) 2025-04-21 06:54:28 +00:00
Louis Young
daa1560ba3
perf(document): optimize workflow document JSON parsing performance (#156) 2025-04-18 09:46:37 +00:00
xiamidaxia
673e6106b4
feat: add without form guide, fix error (#152) v0.1.23 2025-04-18 06:05:09 +00:00
Louis Young
5039f7c76b
chore(drag): remove alt key copy node (#149)
* chore(drag): remove alt key copy node

* fix: tsc error
2025-04-18 02:59:09 +00:00
chenjiawei.inizio
7275dcb6d4
fix: history parent container get (#150) 2025-04-18 02:58:54 +00:00
xiamidaxia
4bb3270f2d
fix: branch end check, all branches are not allowed to be end (#146) 2025-04-16 09:13:39 +00:00
Louis Young
f43d70ee88
fix(core): deduplication before singleton plugin init (#142) v0.1.0-alpha.6 v0.1.22 2025-04-15 07:41:32 +00:00
xiamidaxia
e75c2f8607
fix(demo): freelayout shortcuts copy (#140) 2025-04-11 08:49:47 +00:00
chenjiawei.inizio
6060fbf926
fix: demo-nextjs publish config (#138) v0.1.21 2025-04-10 09:08:18 +00:00
xiamidaxia
93c565cc6f
chore: nextjs demo support cli create (#137) 2025-04-10 07:28:08 +00:00
Louis Young
5eda36286e
fix(editor-client): postpone the sequence of custom service registration (#135) 2025-04-10 04:31:05 +00:00
Louis Young
25356df369
fix(free-demo): drag node to container selected style (#134) 2025-04-10 04:17:28 +00:00
Louis Young
288c48e56f
refactor: decoupling node panel and create node (#129)
* refactor(free-container-plugin): decoupling workflow node panel service private methods to utils

* fix(free-demo): multi-select style in sub-canvas

* fix(config): enable eslint formatter

* feat(free-container-plugin): call node panel on single select mode

* refactor(free-demo): make methods in onDragLineEnd more atomic and easier understand

* refactor(free-demo): make methods in useAddNode more atomic and easier understand

* refactor(free-demo): make methods in lineAddButton.onClick more atomic and easier understand

* chore(free-demo): default add node to canvas viewport center

* fix(node-panel): resolve promise after panel closed

* chore(free-demo): add comments to node panel related code

* chore(node-panel): clear useless code
2025-04-08 09:22:34 +00:00
Louis Young
a18f0f8dbc
fix(canvas): resolve card dom when drag is not allowed (#128) 2025-04-08 03:36:06 +00:00
Yiwei Mao
20b1dc1ae9
feat: add ASTMatch API in variable-core (#127) 2025-04-07 07:30:22 +00:00
YuanHeDx
52bbf2794d
docs: improve node form docs and add english version for both guide and examples (#126)
* docs: add hooks for node form

* docs: fix small imperfection in node form doc

* docs: node form english docs

* docs: improve node form examples and add english version

* docs: better node form doc
2025-04-06 14:45:54 +00:00
Louis Young
a6d3b97057
feat: nextjs demo (#125)
* feat(demo-workflow): init demo-mastra-workflow project

* feat(demo-workflow): node render style

* feat(demo-workflow): init runtime api

* refactor(demo-workflow): component move to @editor

* refactor(demo-workflow): simplify editor client render

* refactor(demo-runtime): rename demo-mastra-workflow to demo-nextjs

* chore: rush update

* fix(plugin): package.json export dist type path

* feat(demo-workflow): remove semi-ui deps

* fix(demo-workflow): next build cannot find eslint config

* fix(demo-workflow): en lang by default
2025-04-03 07:58:20 +00:00
YuanHeDx
707760a8d0
fix: fix FormModel.validateIn only match one pattern (#124) 2025-04-03 03:34:56 +00:00