diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/DeleteWorkflowModal.svelte b/packages/builder/src/components/workflow/SetupPanel/DeleteWorkflowModal.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/DeleteWorkflowModal.svelte rename to packages/builder/src/components/workflow/SetupPanel/DeleteWorkflowModal.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/ComponentParam.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/ComponentParam.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/ComponentParam.svelte rename to packages/builder/src/components/workflow/SetupPanel/ParamInputs/ComponentParam.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/ModelParam.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/ModelParam.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/ModelParam.svelte rename to packages/builder/src/components/workflow/SetupPanel/ParamInputs/ModelParam.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/NumberParam.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/NumberParam.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/NumberParam.svelte rename to packages/builder/src/components/workflow/SetupPanel/ParamInputs/NumberParam.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/StringParam.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/StringParam.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/ParamInputs/StringParam.svelte rename to packages/builder/src/components/workflow/SetupPanel/ParamInputs/StringParam.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/SetupPanel.svelte b/packages/builder/src/components/workflow/SetupPanel/SetupPanel.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/SetupPanel.svelte rename to packages/builder/src/components/workflow/SetupPanel/SetupPanel.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/WorkflowBlockSetup.svelte b/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/WorkflowBlockSetup.svelte rename to packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte diff --git a/packages/builder/src/pages/[application]/workflow/SetupPanel/index.js b/packages/builder/src/components/workflow/SetupPanel/index.js similarity index 100% rename from packages/builder/src/pages/[application]/workflow/SetupPanel/index.js rename to packages/builder/src/components/workflow/SetupPanel/index.js diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowBuilder/WorkflowBuilder.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/WorkflowBuilder.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowBuilder/WorkflowBuilder.svelte rename to packages/builder/src/components/workflow/WorkflowBuilder/WorkflowBuilder.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/Arrow.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/Arrow.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/Arrow.svelte rename to packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/Arrow.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/FlowChart.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/FlowChart.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/FlowChart.svelte rename to packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/FlowChart.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/FlowItem.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/FlowItem.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/FlowItem.svelte rename to packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/FlowItem.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/api.js b/packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/api.js similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/api.js rename to packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/api.js diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/index.js b/packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/index.js similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowBuilder/svelte-flows/index.js rename to packages/builder/src/components/workflow/WorkflowBuilder/svelte-flows/index.js diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/BlockList/BlockList.svelte b/packages/builder/src/components/workflow/WorkflowPanel/BlockList/BlockList.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/BlockList/BlockList.svelte rename to packages/builder/src/components/workflow/WorkflowPanel/BlockList/BlockList.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte b/packages/builder/src/components/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte rename to packages/builder/src/components/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte b/packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte rename to packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/WorkflowList/WorkflowList.svelte b/packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/WorkflowList.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/WorkflowList/WorkflowList.svelte rename to packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/WorkflowList.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/WorkflowPanel.svelte b/packages/builder/src/components/workflow/WorkflowPanel/WorkflowPanel.svelte similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/WorkflowPanel.svelte rename to packages/builder/src/components/workflow/WorkflowPanel/WorkflowPanel.svelte diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/blockDefinitions.js b/packages/builder/src/components/workflow/WorkflowPanel/blockDefinitions.js similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/blockDefinitions.js rename to packages/builder/src/components/workflow/WorkflowPanel/blockDefinitions.js diff --git a/packages/builder/src/pages/[application]/workflow/WorkflowPanel/index.js b/packages/builder/src/components/workflow/WorkflowPanel/index.js similarity index 100% rename from packages/builder/src/pages/[application]/workflow/WorkflowPanel/index.js rename to packages/builder/src/components/workflow/WorkflowPanel/index.js diff --git a/packages/builder/src/components/workflow/index.js b/packages/builder/src/components/workflow/index.js new file mode 100644 index 0000000000..2b3d68b5b7 --- /dev/null +++ b/packages/builder/src/components/workflow/index.js @@ -0,0 +1,3 @@ +export { default as WorkflowBuilder } from "./WorkflowBuilder/WorkflowBuilder.svelte"; +export { default as SetupPanel } from "./SetupPanel/SetupPanel.svelte"; +export { default as WorkflowPanel } from "./WorkflowPanel/WorkflowPanel.svelte"; diff --git a/packages/builder/src/pages/[application]/workflow/_layout.svelte b/packages/builder/src/pages/[application]/workflow/_layout.svelte index 6a1a5dcb53..acaf2350ee 100644 --- a/packages/builder/src/pages/[application]/workflow/_layout.svelte +++ b/packages/builder/src/pages/[application]/workflow/_layout.svelte @@ -1,7 +1,6 @@