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

@logcomex/collection-components

v2.9.17

Published

Collection components used on Logcomex systems

Downloads

210

Readme

💻 Sobre o projeto

O Collection Components da LogComex, foi desenvolvido para atender à necessidade de que os clientes possam realizar gestão de empresas dentro da plataforma. Possibilitando que após serem adicionadas a uma coleção sejam incluídas informações de status e dados adicionais informados pelo próprio usuário. Porém precisamos que essas collections sejam genéricas para que, em cenários futuros, qualquer tipo de registro possa ser adicionado a elas.

Este projeto é privado.

O pacote NPM está presente aqui, sinta-se livre pra dar uma olhada (:


🚀 Como executar o projeto

Pré-requisitos

Rodando o projeto


# Clone o repositório
$ git clone https://github.com/comexio/collection-components.git

# Acesse a pasta do projeto do pacote pelo terminal
$ cd collection-components/

# Se estiver utilizando o NVM (o NVM irá ler o arquivo .nvmrc e usar a versão do Node deste projeto)
$ nvm use

# Instale as dependências
$ yarn

# Crie um link local do pacote
$ yarn link

# Vá até a pasta do projeto que vai utilizar o pacote
$ cd ..
$ cd projeto-exemplo/

# Faça o link da dependência local do pacote no seu projeto
$ yarn link @logcomex/collection-components

# Novamente na pasta do pacote, rode
$ yarn watch

# ou então
$ yarn build

# Por fim, rode o projeto que vai utilizar o pacote
$ yarn dev

Importante: Após terminar de usar o pacote localmente, siga este procedimento:


# Na raíz do projeto que está usando o pacote localmente, rode
$ yarn unlink @logcomex/collection-components

# Na raíz do pacote, rode
$ yarn unlink

# Desta forma você desfaz o link local do pacote, e o projeto volta a referenciar o link do pacote NPM.

:open_file_folder: Docs

A documentação dos componentes/utilitários está disponível aqui

Documentação antiga

LSSideFilters

  <l-s-side-filters
    :title="Titulo"
    show-save-filter
    @toggleSaveFilter="toggleSaveMode"
  >
Parâmetros

title: String com o titulo

show-save-filter: Boolean pra mostrar ou não o botão de salvar filtro

Eventos

@toggleSaveFilter: Evento emitido ao clicar no botão de salvar filtro

LSSaveFilter

  <l-s-save-filter
    is-tags-allowed
    @close="closeSaveFilters"
    @saveFilter="saveFilter"
  />
Parâmetros

is-tags-allowed: Boolean pra mostrar ou não o checkbox de salvar tags

Eventos

@close: Evento emitido ao clicar no botão que fecha o salvar filtro

@saveFilter: Evento emitido ao clicar no botão de salvar filtro, é retorno o seguinte objeto com as informações digitadas

{
  name: "nome filtro",
  tagged: false
}

🛠 Tecnologias

As seguintes ferramentas são usadas na construção do projeto:

Dependências do projeto no package.json

Utilitários