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

@wufengteam/dashboard

v4.1.1-alpha.2

Published

@wufengteam/dashboard

Downloads

126

Readme

零代码-仪表盘

仪表盘筛选功能(2022.7.21)

筛选组件需在 筛选容器 下放置。每个筛选组件需要配置数据来源,实现查询字段的配置,否则筛选能力不生效。

点击查询后每个图表组件会调用数据查询的接口,重新查询数据。筛选数据配置在入参的 attr-filterList 下。

下拉筛选目前暂不支持多选,放到下个版本实现。前端代码先屏蔽。

参数含义

dataType

/** 数据类型 字符型 */
public static final String DATA_TYPE_1000 = "1000";
/** 数据类型 数字型 */
public static final String DATA_TYPE_2000 = "2000";
/** 数据类型 时间 */
public static final String DATA_TYPE_3000 = "3000";
/** 数据类型 浮点数 */
public static final String DATA_TYPE_4000 = "4000";
/** 数据类型 数组 */
public static final String DATA_TYPE_5000 = "5000";

conditionType

条件类型: 等于-equal,区间-between

目前只支持两种条件:相同和区间。

aggregateType

聚合计算类型枚举,可用值:SUM,COUNT,AVERAGE,MAX,MIN,COUNT_DISTINCT

组件名称

BasicTable 表格 Target 指标 FunnelChart 漏斗图 Histogram 柱状图 LineChart 折线图 PieChart 饼图 RadarChart 雷达图 HeatMapChart 热力图 AreaMapChart 地图图表 HistogramLineChart 柱线混合图 SelectFilter 下拉筛选组件 Reference 参考线

属性字符串转数字兼容

2023/2/4 代码中 parseInt(${pageSize}, 10) 三个月后可以去掉,直接用pageSize

DSL兼容

funnelChart.ts 补上默认属性 labelFontSize