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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@riil-frontend/component-index-selector01

v1.0.1-a.5

Published

这是一个指标选择列表

Readme

指标选择

index-select-list

这是一个指标选择列表

API

IndexSelectList

| 参数 | 说明 | 类型 | 默认值 | | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ---------------- | | data | 指标候选数据源 分组展示:[{id:"组 id",name:"分组名称",children:[{id:"指标 id",name:"指标名称"}]}], 平铺展示: [{id:"指标 id",name:"指标名称"}] | Array | [] | | mode | 指标选择模式可选值:'single', 'multiple' | Enum | 'single' | | value | 已选择的指标值 | Array/String | - | | onChange | 指标选在变化事件签名:Function(ids:Array) => void | Function | - | | defaultExpandedKeys | 默认展开折叠面,默认展开第一列,同折叠面板板 | Array | ['0'] | | expandedKeys | 激活展开的折叠面,同折叠面板板 | Array | - | | accordion | 是否打开手风琴状,同折叠面板态 | Boolean | - | | onExpand | 折叠面板展开状态发生变化时候的回调签名:Function(ids:Array) => void ,同折叠面板 | Function | - | | searchPlaceholder | 搜索框可描述输入字段预期值的提示信息 | String | '请输入指标名称' | | dialogTitle | 弹框头部描述文字 | String | '选择指标' | | noDataPage | 无数据页面样式 | ReactNode | - | | isDialog | 是否为弹框模式 | Boolean | true | | onOk | 点击弹框确定按钮模(ids:指标 id 数组)=>void | function | - | | onCancel | 点击取消按钮 | function | - | | onClose | 点击关闭图标 | function | - |