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

rookie-props-component

v1.0.0-bate

Published

组件属性数据格式

Downloads

2

Readme

组件属性数据格式

  1. 字符串/表达式/json/md | sql/表达式 | js代码/表达式
  2. 数字附带单位 如: 34vm 23px 1em
  3. 枚举 下拉选项 (支持绑定数据)
  4. bool值 开关 (支持绑定数据)
  5. 数组字符串 (支持绑定数据)
  6. 数组对象 [{}] (支持绑定数据)
  7. 对象数组{key: []} (支持绑定数据)

循环属性

属性

  • 名称(标识)
  • [] 属性名称[key]
  • 属性提示
  • 属性显示名称
  • 值验证
  • 是否为空
  • 自定义验证
  • 值类型
  • 字符串
  • 数字
  • 对象
  • 数组
  • boolean
  • function

双向绑定 入参 - [sitirng:key] value 监听 - [function:args] onChange dispach -> updateModel -> value

observable

dispach api updateModel

updateModel(value: any);

observable: (updateModel, model) => ({ onChange: (value) => { updateModel("value", value); }, onClick(value){ updateModel("selectId", value); } })

低代码平台 描述: 低代码平台主要让无代码经验或者新手开发,在短时间内赋予开发项目技能,提高开发效率,减少沟通成本为目的衍生出来的开发平台。提供可视化界面,用户通过界面将功能组件或者业务组件拖拽到页面,将复杂的逻辑以及交互通过配置的方式实现来完成所需业务。通过导出功能,可生成可二次开发代码。通过预览功能做到所见即所得,实时预览减少编译打包时间。技术使用react基础框架,react-redux 数据驱动,antd UI框架。使用esprima解析表达式,static-eval编译表达式,react-dnd 完成拖拽功能。 业绩: 1、完成拖拽功能,通过计算定位、宽高来处理拖拽组件冲突问题,递归计算位置变动引发冲突的连带组件。 2、通过虚拟dom树,来展示拖拽新增、移动、删除、修改的组件。属性修改实时生效。 3、数据双向绑定,组件与组件逻辑交互通过数据绑定方式触发联动。 4、表达式解析,用户输入简单的表达即可简历组件之间联系 5、属性组件封装,字符类型、数字类型、颜色选择器、枚举类型、boolean类型、数组类型、对象类型、数组对象等组件封装

360健康档案 描述: