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

@xiaobaoonline/xbui

v1.0.6

Published

xbui base on ant-design-vue

Downloads

12

Readme

组件库

目前已集成组件

筛选组件

API

Prop

| prop | 描述 | 默认值 | 类型 | | -------------- | -------------------------------------- | :----: | --------------------------------------- | | filterdata | 筛选项配置数据 | [] | Array   FilterOption[] | | first | 筛选项默认值 | {} | Object Indexer | | freeze(未启用) | 不可删除的默认值 | {} | Object | | storge | 是否保存筛选值,存在本地,刷新后保持 | true | Boolean | | filtername | 筛选组件名称,配合 storge | - | String |

Slot

| 名称 | 描述 | | ---------- | ------------------------------------- | | head | 一般用于和列表页的搜索框等结合使用 | | 筛选项 key | 自定义 下拉筛选组件的下拉项自定义配置 |

Event

| 方法 | 描述 | 返回值 | | ----------------- | --------------------------------------- | ----------- | | on-filter-change | 默认回传所有的回传 val 数据为数组 | {key:val[]} | | getSelectStop | | | | getSelectDuration | 获取单个选择项花费时间,神策等使用 | |

支持场景

1. date\datetime

日期类

2. daterange\daterangetime

日期范围类 配合字段 maxSpan:最大的日期选择范围以上日期类配合字段  :options format maxSpan 

3. numberrange

数字范围类 配合字段 range 数字范围,fixed 小数点位数  ,unit 选择之后的文案后缀默认限制大小  配合字段: unit  

4. select

一般的下拉筛选项 可配合自定义下拉格式。配合字段: remote  required list baselist mutiple filter extraparam 

5. selectrange

选择范围类     一般用于确定的 如年龄段等默认限制大小配合字段 list