npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

webos-flow-design

v1.0.2

Published

基于工作流程设计器

Downloads

25

Readme

webos-workflow-design(webos工作流设计器)

基于 Vue3 + Layui-Vue 的工作流设计器组件库,支持可视化流程设计和步骤配置。

特性

  • 🎨 可视化流程设计 - 拖拽式节点编辑,直观的流程编排
  • 📋 表单化配置 - 集成 webosformdesign,支持动态配置界面
  • 🔧 灵活的步骤设置 - 支持多种流转策略和处理者类型
  • 🎯 调试模式 - 内置流程调试功能,方便问题排查
  • 📱 响应式设计 - 适配不同屏幕尺寸

安装

npm install webos-workflow-design

依赖

需要安装以下依赖项:

npm install vue @layui/layui-vue webosformdesign webosutils

快速开始

基础用法

<template>
  <WorkflowDesign 
    :flow-data="flowData"
    @save="handleSave"
  />
</template>

<script setup>
import { ref } from 'vue';
import WorkflowDesign from 'webos-workflow-design';

const flowData = ref({
  // 流程数据
});

const handleSave = (data) => {
  console.log('保存流程:', data);
};
</script>

引入样式

import 'webos-workflow-design/lib/index.css';

主要组件

WorkflowDesign - 工作流设计器主组件

属性:

  • flowData: 流程数据对象
  • readOnly: 是否只读模式

事件:

  • @save: 保存流程时触发
  • @change: 流程数据变化时触发

FlowPreview - 流程预览组件

用于展示流程的可视化预览。

属性:

  • flowid: 流程ID
  • height: 预览高度

表单化配置

工作流设计器集成了 webosformdesign,支持使用表单设计器来配置流程和步骤属性。

详细使用说明请参考:

开发

# 安装依赖
npm install

# 开发模式
npm run dev

# 构建生产版本
npm run build

许可证

MIT License

更新日志

v1.0.0

  • 初始版本发布
  • 支持可视化流程设计
  • 集成表单化配置功能
  • 支持多种流转策略