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

dynamic-filters

v2.0.0

Published

### agroupCall

Downloads

2

Readme

dynamic-filters

agroupCall

Função chamada após a seleção de um agrupamento nos filtros básicos Exemplo agroupCall={(values) => console.log(values, "values do agroup Call")}

agroupAdvancedCall,

Função chamada após a seleção de um agrupamento nos filtros avançados Exemplo agroupAdvancedCall={(values) => console.log(values, "values do agroup advanced Call") }

agroupAdvancedPossibilitiesDetails,

Opções de agrupamento nos filtros simples Exemplo agroupAdvancedPossibilitiesDetails={[{ value: 1, label: "teste agroup" }]}

agroupPossibilitiesDetails,

Opções de agrupamento nos filtros avançados Exemplo agroupPossibilitiesDetails={[{ value: 1, label: "teste agroup" }]}

applyIcon,

Ícone do botão para aplicar filtros Exemplo applyIcon={}

deleteCall,

Função chamada para exclusão de um filtro armazenado Exemplo deleteCall={(values) => console.log(values, "values da deleteCall")}

deleteIcon,

Ícone do botão para excluir filtros armazenados Exemplo deleteIcon={}

exportCall,

Função chamada para exportação do objeto de filtros Exemplo exportCall={(values) => console.log(values, "values da exportCall")}

exportIcon,

Ícone do botão para exportaçao do objeto de filtros Exemplo exportIcon={}

filterAdvancedPossibilities,

Opções de input para os filtros avançados Exemplo filterAdvancedPossibilities={ [ { behavior: "customers", defaultName: "customerName", group: "advanced", hasSuggested: false, minToMakeRequest: 0, suggestionUrl: "", type: "select", enableNotEquals: false, } ] }

filterPossibilities,

Opções de input para os filtros básicos Exemplo filterPossibilities={ [ { behavior: "customers", defaultName: "customerName", group: "advanced", hasSuggested: false, minToMakeRequest: 0, suggestionUrl: "", type: "select", enableNotEquals: false, } ] }

groupsAdvancedPossibilities,

Opções de grupos (cards) para os filtros avançados Exemplo groupsAdvancedPossibilities={ [ { name: "advanced1" } ] }

groupsPossibilities,

Opções de grupos (cards) para os fitlros básicos Exemplo groupsPossibilities={ [ { name: "basic1" } ] }

hasAdvanced,

Boolean para ativar filtros avançados

hasAgroup,

Boolean para ativar agrupamentos

hasExport,

Boolean para ativar exportação de objeto de filtros

hasSave,

Boolean para ativar o salvamento de objeto de fitlros

loadFilterSavedCall,

Função para carregar os filtros armazenados Exemplo loadFilterSavedCall={(values) => { console.log(values, "values da loadFilterSavedCall"); }}

objectTitles,

Objeto de referência para os textos Exemplo objectTitles={{ agroupTitle: "agroupTitle", filtersTitle: filtersTitle, basicTitle: basicTitle, advancedTitle: advancedTitle, saveTitle: saveTitle, loadTitle: loadTitle, applyTitle: applyTitle, cleanTitle: cleanTitle, exportTitle: exportTitle, deleteTitle: deleteTitle, tabFilterTitle: tabFilterTitle, tabStoredTitle: tabStoredTitle, inputSearchTitle: "inputSearchTitle", inputMinTitle: "inputMinTitle", inputMaxTitle: "inputMaxTitle", inputMonthTitle: "inputMonthTitle", inputDateTitle: "inputDateTitle", inputInitialTitle: "inputInitialTitle", inputFinalTitle: "inputFinalTitle", inputPredefined: "inputPredefined", inputNotEqual: inputNotEqual, inputEqual: inputEqual, loadingTitle: loadingTitle, noInformationTitle: noInformationTitle, }}

onFilter,

Função chamada quando os filtros básicos são aplicados Exemplo onFilter={console.log(filters, "filters BASIC")}

onFilterAdvanced,

Função chamada quando os filtros avançados são aplicados Exemplo onFilterAdvanced={console.log(filters, "filters ADVANCED")}

preDefinedListOptions,

Array de opções para lista predefinida Exemplo preDefinedListOptions={[ { value: 1, label: suspended, }, ]}

saveCall,

Função chamada para salvar os filtros atuais Exemplo saveCall={(values) => console.log(values, "values da saveCall")}

savedFilters,

Array dos filtros armazenados Exemplo savedFilters={[ { label: "TESTE", value: 1, isLocked: false } ]}

saveIcon

Ícone do botão para armazenar filtros Exemplo saveIcon={}