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-search-form

v1.0.0

Published

Vue 3 search-form component for CommonUI Plus

Readme

@94ai-plus/nf-search-form

HomePage

官网 · 项目仓库

基于 Vue 3 / Element Plus 的配置式搜索表单,包含联动选项、查询导出、校验与字段设置。

import NfSearchForm from '@94ai-plus/nf-search-form'
import '@94ai-plus/nf-search-form/style.css'
app.use(NfSearchForm)

支持独立安装、总包注册、GlobalComponents 类型和 Chalk/OEM 主题。使用 Vue 3 v-model;保留旧事件和 ref 方法。字段设置(显隐、顺序)使用 IndexedDB,建议为同页多实例配置独立 storageKey。旧 Element UI 私有实例、DOM 和 Vue 2 VNode 不保证兼容。

缓存位于 IndexedDB 的 common-ui-plus 数据库、nf-search-form 对象仓库,键沿用 storageKey。异步读取不会覆盖期间的编辑、清除、视图切换或卸载。保存、清除和旧 *Cookies* 同步方法支持 await;IndexedDB 不可用时仅保留当前实例状态,不回退 localStorage,不自动迁移旧缓存。表格内置搜索表单采用相同机制,通过 searchFormStorageKey 隔离。数据库升级会保留已有 nf-table 缓存。

字段设置默认使用漏斗图标入口。checkMode="dialog" 按分类以三列展示勾选项;默认 drawer 为 680px 双栏抽屉,左侧搜索和勾选,右侧拖拽排序及移除,底部提供取消和确认。拖拽手柄也支持键盘上/下方向键排序;确认后才保存,取消不改变当前字段和缓存。

文档 · 用法大全

用法大全提供可编辑的完整表单,展示所有内置组件类型、选择器兼容名称、日期/时间及范围变体,并包含输入插槽、联动、动态显隐、校验、字段设置和提交数据转换。示例默认展开,支持布局、标签位置、折叠与禁用切换;选择器浮层使用文档内预览,分页数据在本地模拟。

周期日期选择使用真实面板:周、季度、季度区间、年和年区间通过 el-date-picker 的 week、quarter、quarterrange、year、yearrange 实现;半年、半年区间、周区间使用内置的 nf-half-year-picker、nf-half-year-range-picker、nf-week-range-picker,也可从 @94ai-plus/nf-date-picker 单独导入。年/季度沿用 Element Plus 四列布局,周区间自动补齐完整周。

全局默认配置

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

Contributors

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

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

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

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

License

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

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