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

@zszc/el-form-schema

v1.2.14

Published

<h1 align="center">el-form-schema</h1>

Downloads

3

Readme

Document

vuepress地址:http://efs.apidevelop.com

Features

  • 支持 element-ui 所有的表单组件
  • 内置支持 object、array、table、el-input-num,可以高效解决更多复杂的业务场景(此处应该有掌声👏)
  • 内置支持 slot 的插槽方式
  • 内置支持给组件设置 inline 行内布局属性,让布局更加灵活
  • 内置支持给 object、array 设置 inline 的方式
  • 支持 destruct 字段解构
  • 支持 initValue 初始化值操作
  • 支持 label/slot/title 设置模板字符串
  • vif 在 false 情况下,自动清空组件
  • 支持组件 props 设置联动值
  • object 组件内置支持 card 和 fieldset 的布局类型,array 内置支持 card 的布局方式。
  • 支持组件之间的复杂联动,包括 vif: '表达式字符串'、inline: '表达式字符串'、required: '表达式字符串'、props: { disabled: '表达式字符串' }、 通过表达式字符串去做联动
  • 支持引入自定义组件,如果要实现双向绑定使用(注意:前提该组件实现了v-model的语法糖)
  • 支持统一设置组件宽度
  • 支持 enter 按键触发查询

Install

  npm install @kummy/el-form-schema
  yarn add @kummy/el-form-schema
  import Vue from 'vue'
  import elementUI from 'element-ui'
  import elFormSchema from '@kummy/el-form-schema'

  Vue.use(elementUI)
  Vue.use(elFormSchema)
  // 统一选项设置
  // Vue.use(elFormSchema, { 
  //   size: 'small', 
  //   isExpand: false,
  //   componentWidth: '240px',
  //   submitProps: { type: 'primary', icon: 'el-icon-search' },
  //   resetProps: { type: 'warning', icon: 'el-icon-refresh-left' }
  //   epxandProps: { type: 'default' }
  // })