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 🙏

© 2024 – Pkg Stats / Ryan Hefner

health-form-making

v2.3.3

Published

基于Vue,ElementUI开发的一款表单设计器,提高表单开发效率的利器,让开发者从枯燥的表单代码编写中解放出来

Downloads

10

Readme

基于 GavinZhuLei/vue-form-making 进行量身开发,感谢 GavinZhuLei/vue-form-making

form-making

部分引自原作者说明

基于Vue,ElementUI开发的一款表单设计器,提高表单开发效率的利器,让开发者从枯燥的表单代码编写中解放出来

原作者的工具演示地址:http://tools.xiaoyaoji.cn/form

文档

更多功能演示代码参考:

/src/demo/Home.vue(表单设计时)
/src/demo/Form.vue(表单运行时)

特性

  • 可视化配置页面
  • 一键预览配置的效果
  • 一键生成配置json数据
  • 支持表单验证
  • 快速获取表单数据
  • 提供子表单组件,方便已设计表单的复用,避免表单相同内容的重复设计
  • 灵活的删格化配置,灵活设置一个表单元素的占用宽度
  • 结构化的表单json格式,分为配置对象和表单数组,表单数组由各个表单字段对象组成,无耦合
  • 表单内各个字段之间存在依赖属性,比如某些字段需要根据选择的性别来展示

快速使用

yarn add health-form-making

npm i health-form-making

基于作者之后新增的功能

  1. 增加表单标题和表单key
  2. 重构原删格结构,删格方式与字段关联,而非采用原单独定义的形式
  3. 增加了字段的依赖属性,点某个选项的时候显示/隐藏指定字段。
  4. 对字段的删除进行特殊处理(对新加字段的删除和原有字段删除进行区别)
  5. 增加分割线、纯文字、图片展示

已知bug

  1. 表单嵌套,父表单顶部对齐,子表单左对齐的情况下,会出现子表单错误的情况,相反正常,可反过来考虑,顶部对齐使用子表单,父表单采用左对齐

版本记录

v2.3.3

  1. feat: 表单展示增加disable,可设置表单全局disable。

v2.3.2

  1. feat: 字段增加隐藏属性,可以参与业务,只是针对用户不显示。
  2. feat: 可清空指定字段或整个表单的值。

v2.3.1

  1. fix: 更改组件文字“换行符”为“断行”
  2. fix: 解决select复制数据没有深拷贝问题(合并原作者更新)
  3. feat: 计数器增加最小值和最大值
  4. feat: 单选框可取消选中
  5. chore: 升级element-ui-v2.12

社区资料笔记

捐赠

如果觉得还不错,可以支持下原作者 ☺

开源协议

LGPL

商业许可

开源版本遵循 LGPL 条款发布,如果您不能接受 LGPL,并且需要将该项目用于商业用途且不想保留版权信息(底部“Powered by GavinZhuLei”版权及链接),为保障您的合法权益,需购买作者的商业授权