Existem diferenças entre os tipos de componentes de plugins e temas.
Tentei criar uma tabela (espera-se pequenos erros ou agrupamentos)
| Categoria | Funcionalidade | Sintaxe de Plugin | Sintaxe de TC |
|---|---|---|---|
| Tipos Básicos | String | type: stringmin: ..max: ..regex: ..secret: true/falseglobal validator: nome da classe |
type: stringmin: ..max: .. - - - - |
| Texto multilinha | type: stringtextarea: true |
type: stringtextarea: true |
|
| Inteiro | type: integermin: ..max: .. |
type: integermin: ..max: .. |
|
| Float | type: floatmin: ..max: .. |
type: floatmin: ..max: .. |
|
| Booleano | type: bool |
type: bool |
|
| Hora | type: time |
- | |
| Nulo | type: null |
- | |
| Tipos de Seleção | Enum (dropdown) | type: enumchoices: [option1, option2]enum: .. |
type: enumchoices: [option1, option2] |
| Categoria | type: category |
- | |
| Cor | type: color |
- | |
| Grupo | type: group |
- | |
type: email |
- | ||
| Nome de usuário | type: username |
- | |
| Tipos de Lista | Lista Genérica | type: listallow_any: true/false |
type: list |
| Lista Simples/Compacta | type: simple_listOu type: listlist_type: compactlist_type: simple |
type: listlist_type: compactlist_type: simple |
|
| Lista de Categorias | type: category_list |
type: listlist_type: category |
|
| Lista de Grupos | type: group_list |
type: listlist_type: group |
|
| Lista de Tags | type: tag_list |
type: listlist_type: tag |
|
| Lista de Grupos de Tags | type: tag_group_list |
- | |
| Lista de URLs | type: url_list |
- | |
| Lista de Hosts | type: host_list |
- | |
| Lista de Valores | type: value_list |
- | |
| Lista de Emojis | type: emoji_list |
- | |
| Tipos de Arquivo | Upload | type: upload |
type: upload |
| Lista de Imagens Enviadas | type: uploaded_image_list |
- | |
| Restrição de Tamanho de Arquivo | type: file_size_restrictionmin: ..max: .. |
- | |
| Tipos Especiais | HTML (descontinuado) | type: html_deprecated |
- |
| Objetos JSON | descontinuado | descontinuado | |
| Objetos | - | type: objects |