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

@94ai-plus/nf-table

v1.0.0

Published

Vue 3 table component for CommonUI Plus

Readme

@94ai-plus/nf-table

HomePage

官网 · 项目仓库

基于 Vue 3 / Element Plus 的数据表格,包含搜索、分页、列设置、操作栏与虚拟滚动。

import NfTable from '@94ai-plus/nf-table'
import '@94ai-plus/nf-table/style.css'
app.use(NfTable)

支持独立安装、总包注册、GlobalComponents 类型和 Chalk/OEM 主题。使用 Vue 3 v-model;保留旧事件和 ref 方法。表格列设置(顺序、显隐、固定状态)和拖拽列宽使用 IndexedDB,建议为同页多实例配置独立 storageKey;内置搜索表单的字段设置也使用 IndexedDB 的 nf-search-form 对象仓库,通过 searchFormStorageKey 隔离。旧 Element UI 私有实例、DOM 和 Vue 2 VNode 不保证兼容。

表格缓存位于 IndexedDB 的 common-ui-plus 数据库、nf-table 对象仓库,列设置键沿用 storageKey,列宽键为 ${storageKey}$drag-column-width。初始化时异步恢复缓存,期间的编辑、清除、视图切换和卸载不会被过期读取覆盖。clearColumnEditCached()、clearDragCached() 以及旧 *Cookies* 同步方法仍可调用;清除、保存和恢复方法支持 await 等待 IndexedDB 操作完成。未启用 columnEdit/dragCached 时不读取对应缓存;IndexedDB 不可用时仅保留当前实例状态,不回退 localStorage,也不自动迁移旧 localStorage 缓存。

默认延续旧库的浅灰表头、内容背景、横向分隔线及表头短分隔线,不显示完整网格边框;设置 tableAttrs.border: true 可显示网格边框。样式使用主题变量,支持 Chalk/OEM,显式设置的表头、单元格样式仍优先。

列设置在操作列表头提供列目图标,columnPosition="free" 使用独立按钮。checkMode="dialog" 按分类以三列展示勾选项;默认 drawer 为 680px 双栏抽屉,支持搜索、勾选、拖拽排序及移除。拖拽手柄也支持键盘上/下方向键排序;确认后才保存,取消不改变当前列和缓存。drawerProps.size 可覆盖抽屉宽度。

文档

全局默认配置

通过总包的 NfConfigProvider 的 nfTable 配置项设置默认属性。支持响应式更新和嵌套继承,优先级为组件显式属性 → 最近一层配置 → 外层配置 → 组件原有默认值。undefined 继续继承,false、0 和空字符串保留;按属性合并,数组、对象和函数整体替换,不深度合并。初始化选项仍按组件原有生命周期生效,事件、插槽和原生 attributes 在组件上设置,必填业务数据仍需显式提供。详见全局配置文档。

Contributors

感谢每一位参与项目建设的贡献者!

最近三个月的贡献者气泡图

最近三个月的贡献者头像墙(使用姓名首字母)

以上为随本版本发布的贡献者统计快照,统计日期与分支见图中说明;仅统计 Git 非合并提交,头像使用姓名首字母,不是 GitLab 个人照片。

License

本项目采用 MIT License 开源许可。

Copyright (c) 2026-present Jiahe Zou, 94 Intelligent Technology Co., Ltd.