forlogic-core 1.5.1 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +455 -20
- package/dist/README.md +455 -20
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/assets/index-C_ZLBeXY.css +0 -1
- package/dist/assets/index-wEAMQwsw.js +0 -7898
- package/dist/docs/AI_RULES.md +0 -213
- package/dist/docs/README.md +0 -102
- package/dist/docs/TROUBLESHOOTING.md +0 -473
- package/dist/docs/architecture/TOKENS_ARCHITECTURE.md +0 -712
- package/dist/docs/templates/app-layout.tsx +0 -192
- package/dist/docs/templates/basic-crud-page.tsx +0 -97
- package/dist/docs/templates/basic-crud-working.tsx +0 -182
- package/dist/docs/templates/complete-crud-example.tsx +0 -307
- package/dist/docs/templates/custom-form.tsx +0 -99
- package/dist/docs/templates/custom-service.tsx +0 -194
- package/dist/docs/templates/permission-check-hook.tsx +0 -275
- package/dist/docs/templates/qualiex-config.ts +0 -137
- package/dist/docs/templates/qualiex-integration-example.tsx +0 -430
- package/dist/docs/templates/quick-start-example.tsx +0 -96
- package/dist/docs/templates/rls-policies.sql +0 -80
- package/dist/docs/templates/sidebar-config.tsx +0 -145
- package/dist/index.html +0 -19
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TEMPLATE: Configuração da Sidebar
|
|
3
|
-
* 📚 Detalhes: Consulte docs/FOR_AI.md
|
|
4
|
-
*/
|
|
5
|
-
import { SidebarConfig } from 'forlogic-core'
|
|
6
|
-
import {
|
|
7
|
-
Home,
|
|
8
|
-
Users,
|
|
9
|
-
Settings,
|
|
10
|
-
BarChart3,
|
|
11
|
-
Package,
|
|
12
|
-
ICON_NAME
|
|
13
|
-
} from 'lucide-react'
|
|
14
|
-
|
|
15
|
-
export const sidebarConfig: SidebarConfig = {
|
|
16
|
-
appName: 'APP_NAME',
|
|
17
|
-
navigation: [
|
|
18
|
-
{
|
|
19
|
-
label: 'Dashboard',
|
|
20
|
-
path: '/',
|
|
21
|
-
icon: BarChart3,
|
|
22
|
-
complementaryText: 'Visão geral do sistema'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: 'MENU_LABEL',
|
|
26
|
-
path: '/ROUTE_PATH',
|
|
27
|
-
icon: ICON_NAME,
|
|
28
|
-
complementaryText: 'DESCRIPTION_TEXT'
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: 'Configurações',
|
|
32
|
-
path: '/settings',
|
|
33
|
-
icon: Settings,
|
|
34
|
-
complementaryText: 'Configurações do sistema'
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/*
|
|
40
|
-
ÍCONES RECOMENDADOS POR CATEGORIA:
|
|
41
|
-
|
|
42
|
-
Navegação Principal:
|
|
43
|
-
- Home - Página inicial
|
|
44
|
-
- BarChart3 - Dashboard/Relatórios
|
|
45
|
-
- Settings - Configurações
|
|
46
|
-
|
|
47
|
-
Gestão de Pessoas:
|
|
48
|
-
- Users - Usuários
|
|
49
|
-
- User - Perfil
|
|
50
|
-
- UserCheck - Usuários ativos
|
|
51
|
-
- UserPlus - Adicionar usuário
|
|
52
|
-
|
|
53
|
-
Documentos e Arquivos:
|
|
54
|
-
- FileText - Documentos
|
|
55
|
-
- File - Arquivo
|
|
56
|
-
- Files - Lista de arquivos
|
|
57
|
-
- Archive - Arquivo morto
|
|
58
|
-
- Download - Download
|
|
59
|
-
- Upload - Upload
|
|
60
|
-
|
|
61
|
-
Produtos e Vendas:
|
|
62
|
-
- Package - Produtos
|
|
63
|
-
- ShoppingCart - Vendas/Carrinho
|
|
64
|
-
- ShoppingBag - Compras
|
|
65
|
-
- DollarSign - Financeiro
|
|
66
|
-
- CreditCard - Pagamentos
|
|
67
|
-
|
|
68
|
-
Comunicação:
|
|
69
|
-
- Mail - Email
|
|
70
|
-
- Phone - Telefone
|
|
71
|
-
- MessageSquare - Mensagens
|
|
72
|
-
- Bell - Notificações
|
|
73
|
-
|
|
74
|
-
Dados e Análise:
|
|
75
|
-
- BarChart3 - Gráficos de barras
|
|
76
|
-
- PieChart - Gráfico de pizza
|
|
77
|
-
- TrendingUp - Tendências
|
|
78
|
-
- Activity - Atividade
|
|
79
|
-
|
|
80
|
-
Ações:
|
|
81
|
-
- Plus - Adicionar
|
|
82
|
-
- Edit - Editar
|
|
83
|
-
- Trash2 - Deletar
|
|
84
|
-
- Search - Buscar
|
|
85
|
-
- Filter - Filtrar
|
|
86
|
-
- Eye - Visualizar
|
|
87
|
-
|
|
88
|
-
Negócios:
|
|
89
|
-
- Building - Empresa
|
|
90
|
-
- Briefcase - Negócios
|
|
91
|
-
- Calendar - Calendário
|
|
92
|
-
- Clock - Tempo
|
|
93
|
-
- Target - Metas
|
|
94
|
-
|
|
95
|
-
Status:
|
|
96
|
-
- Check - Confirmado
|
|
97
|
-
- X - Cancelado
|
|
98
|
-
- AlertCircle - Alerta
|
|
99
|
-
- Info - Informação
|
|
100
|
-
- HelpCircle - Ajuda
|
|
101
|
-
|
|
102
|
-
EXEMPLO COMPLETO:
|
|
103
|
-
|
|
104
|
-
export const sidebarConfig: SidebarConfig = {
|
|
105
|
-
appName: 'ERP System',
|
|
106
|
-
navigation: [
|
|
107
|
-
{
|
|
108
|
-
label: 'Dashboard',
|
|
109
|
-
path: '/',
|
|
110
|
-
icon: BarChart3,
|
|
111
|
-
complementaryText: 'Visão geral do sistema'
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
label: 'Produtos',
|
|
115
|
-
path: '/products',
|
|
116
|
-
icon: Package,
|
|
117
|
-
complementaryText: 'Catálogo de produtos'
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
label: 'Vendas',
|
|
121
|
-
path: '/sales',
|
|
122
|
-
icon: ShoppingCart,
|
|
123
|
-
complementaryText: 'Gestão de vendas'
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
label: 'Clientes',
|
|
127
|
-
path: '/customers',
|
|
128
|
-
icon: Users,
|
|
129
|
-
complementaryText: 'Base de clientes'
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
label: 'Relatórios',
|
|
133
|
-
path: '/reports',
|
|
134
|
-
icon: FileText,
|
|
135
|
-
complementaryText: 'Relatórios e análises'
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
label: 'Configurações',
|
|
139
|
-
path: '/settings',
|
|
140
|
-
icon: Settings,
|
|
141
|
-
complementaryText: 'Configurações do sistema'
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
*/
|
package/dist/index.html
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="pt-BR">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>Core</title>
|
|
7
|
-
<meta name="author" content="ForLogic" />
|
|
8
|
-
<link rel="icon" href="https://ccjfvpnndclajkleyqkc.supabase.co/storage/v1/object/public/library-assets/small.svg" type="image/svg">
|
|
9
|
-
|
|
10
|
-
<meta property="og:title" content="Core" />
|
|
11
|
-
<meta property="og:type" content="website" />
|
|
12
|
-
<script type="module" crossorigin src="/assets/index-wEAMQwsw.js"></script>
|
|
13
|
-
<link rel="stylesheet" crossorigin href="/assets/index-C_ZLBeXY.css">
|
|
14
|
-
</head>
|
|
15
|
-
|
|
16
|
-
<body>
|
|
17
|
-
<div id="root"></div>
|
|
18
|
-
</body>
|
|
19
|
-
</html>
|