- Introduced a new process builder feature with a dedicated page for managing processes. - Implemented a `ProcessFlowCanvas` component utilizing Vue Flow for visual process management. - Created custom node types for the process flow, including Start, Task, Form, Gateway, Script, and End nodes. - Developed a Pinia store for managing process data, including actions for creating, updating, and deleting processes and nodes. - Added a search functionality for filtering processes and a confirmation dialog for process deletion. - Integrated responsive design adjustments for better usability across devices. - Included styles for custom nodes and flow components to enhance visual representation. - Updated navigation to include links to the new process builder and management features.
10 lines
303 B
JavaScript
10 lines
303 B
JavaScript
import { nodeStyles } from '~/components/process-flow/ProcessFlowNodes';
|
|
|
|
export default defineNuxtPlugin(() => {
|
|
// Create a style element
|
|
const styleEl = document.createElement('style');
|
|
styleEl.textContent = nodeStyles;
|
|
|
|
// Append to document head
|
|
document.head.appendChild(styleEl);
|
|
});
|