Atualização floresta
This commit is contained in:
parent
0886fd5c3e
commit
2d4d8f8929
103 changed files with 19266 additions and 14160 deletions
|
|
@ -6,6 +6,16 @@ import EliTabelaCelulaTextoSimples from "./EliTabelaCelulaTextoSimples.vue"
|
|||
import EliTabelaCelulaTextoTruncado from "./EliTabelaCelulaTextoTruncado.vue"
|
||||
import type { tipoTabelaCelula } from "./tiposTabelaCelulas"
|
||||
|
||||
/**
|
||||
* Mapa (dispatch table) que associa cada `tipoTabelaCelula` ao seu componente Vue de renderização.
|
||||
* Usado por `EliTabelaCelula.vue` para resolver dinamicamente qual componente renderizar
|
||||
* a partir do tipo retornado por `tipoEliColuna.celula(linha)`.
|
||||
*
|
||||
* Adicionar um novo tipo de célula requer:
|
||||
* 1. Criar o componente `EliTabelaCelula<Tipo>.vue`
|
||||
* 2. Adicionar a chave em `tipoTabelaCelula` (tiposTabelaCelulas.ts)
|
||||
* 3. Registrar aqui no mapa
|
||||
*/
|
||||
export const registryTabelaCelulas = {
|
||||
textoSimples: EliTabelaCelulaTextoSimples,
|
||||
textoTruncado: EliTabelaCelulaTextoTruncado,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue