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

@qqt-vue/page-crud

v0.2.0

Published

页面类型-行项目组件

Downloads

8

Readme

PageCrud 页面类型表格组件

传参

参数|说明|类型|默认值 --|--|--|-- slots | 选项数组, 传入自定义字段 Prop 值 并用slot 传入自定义组件 名字为诶 prop+'Slot' ,配置平台配置 开发自定义 也可打开自定义显示 将使用slot 替换组件默认元素 | Array | [String] col | 单个元素默认所占大小 | Number | 8 data| 表单数据 | Object | {} configOption | 通过 sessionStorage 加载外部配置资源 | Object | {name:'string', timestamp:timestamp} popups |弹窗配置, 定制 弹窗触发字段, 执行方法,匹配参数| Array | [] popupApi | 弹窗 后 列表请求接口地址, 根据对应字段请求接口 | Map | {} popupParams| 弹窗 后 列表请求接口参数, 根据对应字段请求接口 | Map | {} option | 表单默认配置, 继承自 AVUE | Object | { column:[]} originColumn | 表单初始化 列属性 | Array | [] readOnly | 只读模式 | Boolean | false isExport | 是否导出 | Boolean | false isImport | 本地导入 | Boolean | false isInsert | 是否可新增 | Boolean | false rowPermission | 权限控制, 根据字段属性 prop | Map | {}

事件

事件名称|说明|回调参数 --|--|--

方法 Method

方法|说明|参数 --|--|-- getProp | 获取 Form 对象里 option 的 字段配置 返回对应字段配置对象 |prop : String showProp | 显示字段 返回对应字段配置对象 用于继续修改 |prop : String hideProp | 隐藏字段 返回对应字段配置对象 用于继续修改 |prop : String showMenu | 控制显示按钮, 具体字段扩展自AVUE | btn : String hideMenu | 隐藏按钮, 具体字段扩展自AVUE | btn : String setRequired | 设置必填校验 | prop : String removeRequired | 移除必填校验 | prop : String