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

lcdp-lib-form-designer

v1.8.0

Published

LCDP LIBRARY: FORM DESIGNER BASE ON VUE.JS, MAKE FORM DEVELOPMENT SIMPLE AND EFFICIENT.

Downloads

111

Readme

lcdp-lib-form-designer 可视化表单设计器

介绍

本项目使用 vue-cli 4 搭建,基于 vueelement-ui 实现。

可选参数

表单设计器(lcdp-lib-form-designer)入参:

| 参数名 | 参数类型 | 描述 | |----------------------|---------|-----------------------------------------| | preview | Boolean | 是否为预览状态:true = 是;false(默认) = 否 | | generateCode | Boolean | 是否输出表单代码:true = 是;false(默认) = 否 | | generateJson | Boolean | 是否输出表单JSON结构数据:true = 是;false(默认) = 否 | | importJson | Boolean | 是否允许导入JSON格式表单代码:true = 是;false(默认) = 否 | | clearable | Boolean | 是否允许清空表单设计:true = 是(默认);false = 否 | | variables | Object | 引入变量:主要为当前登录用户信息 | | appId | String | 应用ID | | currentFormId | String | 表单ID | | currentFormVersionId | String | 表单版本ID | | systemConfig | Object | 系统参数 |

使用示例:

1.安装:

    // 安装最新版本
    $ npm install -s lcdp-lib-form-designer
    // 安装指定版本
    $ npm install -s lcdp-lib-form-designer@version

2.引入:

import Vue from 'vue';
import App from './App.vue';
import ElementUI from 'element-ui';
import lcdpLibFormDesigner from 'lcdp-lib-form-designer';
import './assets/styles/theme/element-variables.scss';
import 'remixicon/fonts/remixicon.css';
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
Vue.use(ElementUI, {zIndex: 2000});
lcdpLibFormDesigner.install(Vue, {}, {});
Vue.config.productionTip = false;
new Vue({
  router,
  render: h => h(App)
}).$mount('#app');

3.使用:

<template>
  <lcdp-lib-form-designer
      clearable
      generate-code
      generate-json
      preview
      import-json>
  </lcdp-lib-form-designer>
</template>