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

@riil-frontend/component-res-advanced-search

v4.1.1

Published

高级搜索树组件

Downloads

170

Readme

资源树高级搜索

res-advanced-search

更新日志

  • 5月12日 增加过滤掉dataSource 为 metric、otherCi的属性 v2.0.25

高级搜索树组件

API

| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------------------------ | -------------------------------------------------------- | ---- | ----------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | request | 请求方法,可使用 ice 框架中的 request | 否 | string | - | | | ciType | 模型主资源 code, | 否 | string | - | | | resTypeFilter | 资源类型过滤 | 否 | function | - | | | componentCode | 模型子资源 code, | 否 | string | - | | | visible | 显示隐藏搜索树 | 否 | Boolean | true | | | disabledFirstSelect | 是否失禁资源选择 | 否 | Boolean | true | | | initValues | 规则初始树 | 否 | object | [{ relation: 'and', children: [{ key: 1, type: {} }] }] | [{ relation: 'and', children: [{ key: 1, type: { rootCi:资源类型, type: 检索方式,attributes: 选择的属性,relation: 关系, option: 操作符, instanceId:资源实例 id,searchValue: 筛选条件,dataType: 属性类型,attributesOption: 属性带选项数据,relationOption: 关系带选项数组,instanceOption:实例数组} }] }c] | | shortTimeValue | 临时存储值,有重置功能时使用此属性,结构等同于 initValue | 否 | Object | - | | | resetButtonStateCallBack | 返回,当前值是否与初始值相同 | 否 | function | - | | | className | 自定义类名 | 否 | string | - | | | onChangeCallBack | 规则变化回调 | 否 | function | - | | | visibleAttribute | 展示的属性 code 数组 | 否 | Array | 显示全部属性 | | | ref | 获取树表单、拼接查询字段的方法 | 否 | HTMLElement | - | | | customResCom | 自定义资源选择组件 | 否 | function | - | | | filterCiRes | 过滤资源选项 | 否 | function | - | | | domainIsOptional | 级联第一层是否可选 | 否 | Boolean | false | | | cascaderSelectProps | 级联选择组件属性 | 否 | object | {listStyle:{width: '153px', height: '256px' }}|
| filterSearchWay | 检索方式过滤 | 否 |Array | - | "all","attributes","relation"三个属性 | |ciTypefilter | 第一列资源类型过滤 | 否 |Function | - | (item)=>{} ,返回true显示 | |module | 树展示场景 | 否 |Function | - | resourceCenter (资源中心), moduleManagement(模型管理,默认全部展示), dataStore (数据仓库) | |renderFinish | 返回当前选择的信息 | 否 |Function | - | (value)=>{} | |maxGroupNum | 最大组数 | 否 |Number | - | - | |maxConditionNum | 最大总的条件数 | 否 |Number | - | - | |isNewRelationReq | 是否启用新的关系查询接口 | 否 |Boolean | - | - |canSelectDomain| 是否可选择领域层 | 否 |Boolean | - | false | |filterSearchWayFunc| 过滤搜索方式数组 (Array,type,level)=>Array | 否 |function | - | - | |noShowAllSearch| 选择领域是否不展示全部搜索方式 | 否 |Boolean | - | true |