vinty-library 1.0.0
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 +20 -0
- package/dist/Components/AmbienteBadge.d.ts +5 -0
- package/dist/Components/ContainerFields.d.ts +5 -0
- package/dist/Components/CustomSnackBar.d.ts +2 -0
- package/dist/Components/DataTable.d.ts +4 -0
- package/dist/Components/Filtros/FilterChips.d.ts +7 -0
- package/dist/Components/Filtros/FilterHistEmailErro.d.ts +2 -0
- package/dist/Components/GlobalSearchAutocomplete.d.ts +4 -0
- package/dist/Components/Icons/CustomIcon.d.ts +15 -0
- package/dist/Components/Icons/IconsSvg.d.ts +93 -0
- package/dist/Components/Icons/index.d.ts +2 -0
- package/dist/Components/Inputs/InputText.d.ts +7 -0
- package/dist/Components/Inputs/inputAutocomplete.d.ts +5 -0
- package/dist/Components/Inputs/inputCheck.d.ts +4 -0
- package/dist/Components/Inputs/inputDataPicker.d.ts +5 -0
- package/dist/Components/Inputs/inputRadio.d.ts +4 -0
- package/dist/Components/Inputs/inputTextArea.d.ts +5 -0
- package/dist/Components/Inputs/virtualKeyboard.d.ts +8 -0
- package/dist/Components/Modais/ModalConfirm.d.ts +17 -0
- package/dist/Components/Modais/ModalHistEmailErro.d.ts +8 -0
- package/dist/Components/NavBar/Demo.d.ts +2 -0
- package/dist/Components/NavBar/MenuNavbar.d.ts +10 -0
- package/dist/Components/NavBar/MenuNavbarMobile.d.ts +2 -0
- package/dist/Components/NavBar/ModalHistEmailErro.d.ts +8 -0
- package/dist/Components/NavBar/Navbar.d.ts +9 -0
- package/dist/Components/NavBar/Notificacao.d.ts +2 -0
- package/dist/Components/TitlePage.d.ts +7 -0
- package/dist/Contexts/AuthContext.d.ts +6 -0
- package/dist/Contexts/PrefsContext.d.ts +7 -0
- package/dist/Contexts/ThemeContext.d.ts +10 -0
- package/dist/GlobalStyle.d.ts +2 -0
- package/dist/GraphQL/mutations.d.ts +22 -0
- package/dist/GraphQL/queries.d.ts +56 -0
- package/dist/Helpers.d.ts +18 -0
- package/dist/Pages/Signin.d.ts +3 -0
- package/dist/Templates/Auth.d.ts +6 -0
- package/dist/Theme/breakpoints.d.ts +10 -0
- package/dist/Theme/components.d.ts +156 -0
- package/dist/Theme/index.d.ts +2 -0
- package/dist/Theme/shadows.d.ts +3 -0
- package/dist/Theme/typography.d.ts +3 -0
- package/dist/Theme/variants.d.ts +73 -0
- package/dist/Types/graphTypes.d.ts +947 -0
- package/dist/Types/types.d.ts +375 -0
- package/dist/auth.d.ts +4 -0
- package/dist/constants.d.ts +16 -0
- package/dist/hooks/useAuth.d.ts +2 -0
- package/dist/hooks/useCookies.d.ts +3 -0
- package/dist/hooks/useLocalStorage.d.ts +2 -0
- package/dist/hooks/usePrefs.d.ts +2 -0
- package/dist/hooks/useTheme.d.ts +5 -0
- package/dist/index.css +22 -0
- package/dist/index.d.ts +1331 -0
- package/dist/index.esm.css +22 -0
- package/dist/index.esm.js +45674 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +45736 -0
- package/dist/index.js.map +1 -0
- package/package.json +87 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import { Auditoria, CadastroPadraoType, ConfigValorParamDanfe, ConsultaSeqNFeEmpresas, ContasEmail, NfeComplementarQueryType, ParamAmb, ParamDanfe, PedOperType, PedidoPainelType, ReceitasNfeDTO, RegistroCFOP, RegistroNatureza, RegistroTotalDiario, RegistroUF, ResumoICMSSpedDTO, ResumoPisCofinsDTO, UsuarioType, VendasDevDTO, carta_correcao_consultar, consultaUsuarios, hist_Email, notfiscais_Consultar, notificacaoHistEmailErro, parametros_contasemail, produtos_Faturados_NFe_Row, produtos_Pedidos_NFe_Row, vintyAuditoria } from "./graphTypes";
|
|
2
|
+
import { ReactElement, ReactNode } from "react";
|
|
3
|
+
import { Dayjs } from "dayjs";
|
|
4
|
+
import { FormikErrors } from "formik";
|
|
5
|
+
import { TableCellProps } from "@mui/material";
|
|
6
|
+
import { VariantType } from "../Theme/variants";
|
|
7
|
+
export type SetValue<T> = (newValue: T) => void;
|
|
8
|
+
export type AuthCredentials = {
|
|
9
|
+
url: string;
|
|
10
|
+
token: string;
|
|
11
|
+
dateExpired: Date;
|
|
12
|
+
permissoes: number[];
|
|
13
|
+
logado: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type DemoTypes = {
|
|
16
|
+
title: string;
|
|
17
|
+
themeVariant: string;
|
|
18
|
+
};
|
|
19
|
+
export type DemoButtonType = {
|
|
20
|
+
active?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export type ChipFilterType = {
|
|
23
|
+
title: string;
|
|
24
|
+
handleClose: () => void;
|
|
25
|
+
};
|
|
26
|
+
export type DemoButtonInnerType = {
|
|
27
|
+
selectedTheme: string;
|
|
28
|
+
};
|
|
29
|
+
export type AuthContextType = {
|
|
30
|
+
authCredentials: AuthCredentials;
|
|
31
|
+
signIn: (token: string, permissoes: number[], _signValues: SignType) => Promise<void>;
|
|
32
|
+
signOut: () => void;
|
|
33
|
+
setUrl: (url: string) => Promise<void>;
|
|
34
|
+
setToken: (url: string) => Promise<void>;
|
|
35
|
+
hasPermission: (permissionId: number) => boolean;
|
|
36
|
+
signValues: SignType;
|
|
37
|
+
};
|
|
38
|
+
export type PrefContextType = {
|
|
39
|
+
globalSearchHistory: SearchResult[];
|
|
40
|
+
setGlobalSearchHistory: SetValue<SearchResult[]>;
|
|
41
|
+
perfilData: PerfilData;
|
|
42
|
+
setPerfilData: SetValue<PerfilData>;
|
|
43
|
+
rowsPerPage: TablesIds;
|
|
44
|
+
setRowsPerPage: SetValue<TablesIds>;
|
|
45
|
+
filtrosHistEmailErro: FilterConfigHistEmailErroValues;
|
|
46
|
+
setFiltrosHistEmailErro: SetValue<FilterConfigHistEmailErroValues>;
|
|
47
|
+
};
|
|
48
|
+
export declare enum selectionMode {
|
|
49
|
+
multiSelection = 0,
|
|
50
|
+
singleSelection = 1,
|
|
51
|
+
noSelection = 2
|
|
52
|
+
}
|
|
53
|
+
export type rowDataType = {
|
|
54
|
+
title: string;
|
|
55
|
+
key: keyof ReceitasNfeDTO | keyof PedOperType | keyof ConsultaSeqNFeEmpresas | keyof notfiscais_Consultar | keyof produtos_Faturados_NFe_Row | keyof produtos_Pedidos_NFe_Row | keyof carta_correcao_consultar | keyof NfeComplementarQueryType | keyof VendasDevDTO | keyof RegistroTotalDiario | keyof ResumoICMSSpedDTO | keyof ResumoPisCofinsDTO | keyof RegistroCFOP | keyof RegistroNatureza | keyof RegistroUF | keyof Auditoria | keyof ParamDanfe | keyof ConfigValorParamDanfe | keyof ParamAmb | keyof parametros_contasemail | keyof ContasEmail | keyof PedidoPainelType | keyof hist_Email | keyof notificacaoHistEmailErro | keyof UsuarioType | keyof CadastroPadraoType | keyof vintyAuditoria | keyof consultaUsuarios;
|
|
56
|
+
handle: null | ((x: any, id: number) => string | JSX.Element);
|
|
57
|
+
width: string;
|
|
58
|
+
align?: TableCellProps["align"];
|
|
59
|
+
};
|
|
60
|
+
export type DataTableOptions = {
|
|
61
|
+
loading: boolean;
|
|
62
|
+
emptyMsg: string;
|
|
63
|
+
dataRows: (PedOperType | ConsultaSeqNFeEmpresas | notfiscais_Consultar | produtos_Faturados_NFe_Row | ReceitasNfeDTO | carta_correcao_consultar | NfeComplementarQueryType | VendasDevDTO | RegistroTotalDiario | ResumoICMSSpedDTO | ResumoPisCofinsDTO | RegistroCFOP | RegistroNatureza | RegistroUF | Auditoria | ParamDanfe | ParamAmb | ConfigValorParamDanfe | hist_Email | notificacaoHistEmailErro | UsuarioType | CadastroPadraoType | vintyAuditoria | consultaUsuarios)[];
|
|
64
|
+
rowType: rowDataType[];
|
|
65
|
+
selected: readonly number[];
|
|
66
|
+
setSelected: React.Dispatch<React.SetStateAction<readonly number[]>>;
|
|
67
|
+
page: number;
|
|
68
|
+
tableId: keyof TablesIds;
|
|
69
|
+
setPage: React.Dispatch<React.SetStateAction<number>>;
|
|
70
|
+
searchId: number | null;
|
|
71
|
+
Mode: selectionMode;
|
|
72
|
+
handleSelectAux?: (listIds: readonly number[]) => void;
|
|
73
|
+
paginationMode?: boolean;
|
|
74
|
+
totalCount?: number;
|
|
75
|
+
zebraMode?: boolean;
|
|
76
|
+
};
|
|
77
|
+
export declare enum searchType {
|
|
78
|
+
PAGE = 0,
|
|
79
|
+
MODAL = 1
|
|
80
|
+
}
|
|
81
|
+
export declare enum moduloType {
|
|
82
|
+
VINTY = 0,
|
|
83
|
+
NFE = 1,
|
|
84
|
+
ESTOQUE = 2,
|
|
85
|
+
FINANCEIRO = 3
|
|
86
|
+
}
|
|
87
|
+
export interface SearchResult {
|
|
88
|
+
id: number;
|
|
89
|
+
label: string[];
|
|
90
|
+
type: searchType;
|
|
91
|
+
path: string;
|
|
92
|
+
parameters: Partial<Record<string, boolean>> | null;
|
|
93
|
+
globalPathProd: string;
|
|
94
|
+
globalPathHomolog: string;
|
|
95
|
+
modulo: moduloType;
|
|
96
|
+
hasPermission: boolean;
|
|
97
|
+
}
|
|
98
|
+
export type PerfilData = {
|
|
99
|
+
foto: string;
|
|
100
|
+
nome: string;
|
|
101
|
+
cargo: string;
|
|
102
|
+
};
|
|
103
|
+
export type AutocompleteType = {
|
|
104
|
+
id: number;
|
|
105
|
+
label: string;
|
|
106
|
+
value?: number;
|
|
107
|
+
};
|
|
108
|
+
export declare enum SnackType {
|
|
109
|
+
success = 0,
|
|
110
|
+
error = 1
|
|
111
|
+
}
|
|
112
|
+
export type SnackbarProps = {
|
|
113
|
+
message: string;
|
|
114
|
+
visible: boolean;
|
|
115
|
+
handleClose: () => void;
|
|
116
|
+
type: SnackType;
|
|
117
|
+
};
|
|
118
|
+
export type FilterConfigHistEmailErroValues = {
|
|
119
|
+
emailenviado: string;
|
|
120
|
+
dhenvio: string;
|
|
121
|
+
assunto: string;
|
|
122
|
+
mensagem: string;
|
|
123
|
+
destinatario: string;
|
|
124
|
+
erro: string;
|
|
125
|
+
numero: string;
|
|
126
|
+
origem: string;
|
|
127
|
+
tipo: string;
|
|
128
|
+
codempresa: AutocompleteType | null;
|
|
129
|
+
codusucadastro: AutocompleteType | null;
|
|
130
|
+
usuenvio: string;
|
|
131
|
+
chavenfe: string;
|
|
132
|
+
};
|
|
133
|
+
export type FilterConfigHistEmailValues = {
|
|
134
|
+
dhenvio: string;
|
|
135
|
+
numero: string;
|
|
136
|
+
origem: string;
|
|
137
|
+
tipo: string;
|
|
138
|
+
usuenvio: string;
|
|
139
|
+
nomecodusucadastro?: AutocompleteType | null;
|
|
140
|
+
};
|
|
141
|
+
export type FilterConfigParamDanfeValues = {
|
|
142
|
+
id: string;
|
|
143
|
+
descParam: string;
|
|
144
|
+
};
|
|
145
|
+
export type FilterConsultaValues = {
|
|
146
|
+
numero: string;
|
|
147
|
+
serie: string;
|
|
148
|
+
documento: string;
|
|
149
|
+
numPedido: string;
|
|
150
|
+
codempresa: AutocompleteType | null;
|
|
151
|
+
cpfCnpj: string;
|
|
152
|
+
noperestoq: string;
|
|
153
|
+
finalidadeTodas: AutocompleteType | null;
|
|
154
|
+
situacaoTodas: AutocompleteType | null;
|
|
155
|
+
tipoMovTodas: AutocompleteType | null;
|
|
156
|
+
dataIni: string | Dayjs;
|
|
157
|
+
dataFim: string | Dayjs;
|
|
158
|
+
outrosUfs: AutocompleteType | null;
|
|
159
|
+
outrosNatop: AutocompleteType | null;
|
|
160
|
+
outrosCfop: AutocompleteType | null;
|
|
161
|
+
outrosUsuarios: AutocompleteType | null;
|
|
162
|
+
outrosVendedores: AutocompleteType | null;
|
|
163
|
+
outrosFornecedores: AutocompleteType | null;
|
|
164
|
+
outrosFabricantes: AutocompleteType | null;
|
|
165
|
+
outrosClientes: AutocompleteType | null;
|
|
166
|
+
outrosSegmentos: AutocompleteType | null;
|
|
167
|
+
outrosContatos: AutocompleteType | null;
|
|
168
|
+
outrosTransportadoras: AutocompleteType | null;
|
|
169
|
+
ordenacaoConfig: AutocompleteType | null;
|
|
170
|
+
nomeClieConfig: AutocompleteType | null;
|
|
171
|
+
nfDesc: boolean;
|
|
172
|
+
nfSeg: boolean;
|
|
173
|
+
nfDesAcess: boolean;
|
|
174
|
+
nfVendSemReceita: boolean;
|
|
175
|
+
nfVendCustoLucro: boolean;
|
|
176
|
+
nfVendFrete: boolean;
|
|
177
|
+
nfDifalIcms: boolean;
|
|
178
|
+
nfTotalReceitas: boolean;
|
|
179
|
+
nfRef: boolean;
|
|
180
|
+
};
|
|
181
|
+
export type FilterEmissaoValues = {
|
|
182
|
+
numero: string;
|
|
183
|
+
serie: string;
|
|
184
|
+
documento: string;
|
|
185
|
+
numPedido: string;
|
|
186
|
+
numPedidoPainel?: number[];
|
|
187
|
+
codempresa: AutocompleteType | null;
|
|
188
|
+
notasRejeitadas: boolean;
|
|
189
|
+
pedDesbloq: boolean;
|
|
190
|
+
pedExpedidos: boolean;
|
|
191
|
+
dataIni: string | Dayjs;
|
|
192
|
+
dataFim: string | Dayjs;
|
|
193
|
+
codclie: AutocompleteType | null;
|
|
194
|
+
pedido: boolean;
|
|
195
|
+
outros: boolean;
|
|
196
|
+
ultimos: boolean;
|
|
197
|
+
dataEntregIni: string | Dayjs;
|
|
198
|
+
dataEntregFim: string | Dayjs;
|
|
199
|
+
valorMercadInicial: string;
|
|
200
|
+
valorMercadFinal: string;
|
|
201
|
+
codtrans: AutocompleteType | null;
|
|
202
|
+
codprioridade: AutocompleteType | null;
|
|
203
|
+
};
|
|
204
|
+
export type SignType = {
|
|
205
|
+
id: string;
|
|
206
|
+
username: string;
|
|
207
|
+
password: string;
|
|
208
|
+
lembrar: boolean;
|
|
209
|
+
};
|
|
210
|
+
export type modalEmpresaType = {
|
|
211
|
+
open: boolean;
|
|
212
|
+
handleClose: (confirm: boolean) => void;
|
|
213
|
+
empresas: AutocompleteType[];
|
|
214
|
+
setEmpresaSelec: React.Dispatch<React.SetStateAction<AutocompleteType | null>>;
|
|
215
|
+
selectedVariant: VariantType | undefined;
|
|
216
|
+
};
|
|
217
|
+
export type signInPropType = {
|
|
218
|
+
urlApi: string;
|
|
219
|
+
logoVinty: string;
|
|
220
|
+
logoVintyPreta: string;
|
|
221
|
+
sideImage: string;
|
|
222
|
+
};
|
|
223
|
+
export declare enum ambientetype {
|
|
224
|
+
HOMOLOGACAO = 0,
|
|
225
|
+
PRODUCAO = 1
|
|
226
|
+
}
|
|
227
|
+
export type NotificacaoVintyType = {
|
|
228
|
+
idNotificacao: number;
|
|
229
|
+
titulo: string;
|
|
230
|
+
subtitulo: string;
|
|
231
|
+
moduloRef: number;
|
|
232
|
+
};
|
|
233
|
+
export type TablesIds = {
|
|
234
|
+
tableAuditoriaNfe: number;
|
|
235
|
+
tableCartaCorrecao: number;
|
|
236
|
+
tableConfigAmb: number;
|
|
237
|
+
tableConfigDanfe: number;
|
|
238
|
+
tableConfigParamDanfe: number;
|
|
239
|
+
tableConfigHistEmail: number;
|
|
240
|
+
tableConfigHistEmailErro: number;
|
|
241
|
+
tableConfiguracoes: number;
|
|
242
|
+
tableNfeComp: number;
|
|
243
|
+
tableIncluirNfeComp: number;
|
|
244
|
+
tableProdutos: number;
|
|
245
|
+
tableEmissao: number;
|
|
246
|
+
tableDocFiscais: number;
|
|
247
|
+
tableFinanceiro: number;
|
|
248
|
+
tableItensDoc: number;
|
|
249
|
+
tableResumoCfop: number;
|
|
250
|
+
tableResumoNat: number;
|
|
251
|
+
tableResumoUf: number;
|
|
252
|
+
tableIcms: number;
|
|
253
|
+
tablePisCofins: number;
|
|
254
|
+
tableTotalRegistros: number;
|
|
255
|
+
tableVendas: number;
|
|
256
|
+
tableEmailCliente: number;
|
|
257
|
+
tableIncluirNfeAjuste: number;
|
|
258
|
+
painelPrioridade: number;
|
|
259
|
+
painelUltimos: number;
|
|
260
|
+
tableCadAtiv: number;
|
|
261
|
+
tableCadSegClie: number;
|
|
262
|
+
tableCadZona: number;
|
|
263
|
+
tableCadCanalMarketing: number;
|
|
264
|
+
tableCadSegTrib: number;
|
|
265
|
+
tablePerfilPerm: number;
|
|
266
|
+
tableAuditoria: number;
|
|
267
|
+
tableCadCobradores: number;
|
|
268
|
+
tableConsultaPerfis: number;
|
|
269
|
+
};
|
|
270
|
+
export declare enum inputTypes {
|
|
271
|
+
text = 0,
|
|
272
|
+
autocomplete = 1,
|
|
273
|
+
checkbox = 2,
|
|
274
|
+
date = 3,
|
|
275
|
+
radio = 4,
|
|
276
|
+
textArea = 5
|
|
277
|
+
}
|
|
278
|
+
export type FormEnvioEmail = {
|
|
279
|
+
remetente: AutocompleteType | null;
|
|
280
|
+
destinatario: string | null;
|
|
281
|
+
assunto: string;
|
|
282
|
+
nome: string;
|
|
283
|
+
prioridade: AutocompleteType | null;
|
|
284
|
+
mensagem: string;
|
|
285
|
+
anexos: any[];
|
|
286
|
+
};
|
|
287
|
+
export type FormInutValues = {
|
|
288
|
+
codempresa: AutocompleteType | null;
|
|
289
|
+
modelo: AutocompleteType | null;
|
|
290
|
+
serie: string;
|
|
291
|
+
ano: string | Dayjs;
|
|
292
|
+
numInicial: number | null;
|
|
293
|
+
numFinal: number | null;
|
|
294
|
+
justificativa: string;
|
|
295
|
+
};
|
|
296
|
+
export type ItemContainerField = {
|
|
297
|
+
extra?: ReactNode;
|
|
298
|
+
extraSize?: number;
|
|
299
|
+
name: keyof FilterEmissaoValues | keyof FilterConsultaValues | keyof FormInutValues | keyof FormEnvioEmail | keyof ContasEmail | keyof FilterConfigParamDanfeValues | keyof FilterConfigHistEmailValues | keyof FilterConfigHistEmailErroValues | keyof FilterCadastrosType | keyof FilterAuditoriaValues | keyof FilterConsultaUsuarios;
|
|
300
|
+
label: string;
|
|
301
|
+
type: inputTypes;
|
|
302
|
+
list: AutocompleteType[];
|
|
303
|
+
size: number;
|
|
304
|
+
minRows?: number;
|
|
305
|
+
maxRows?: number;
|
|
306
|
+
show?: boolean;
|
|
307
|
+
views?: string[];
|
|
308
|
+
mask?: (value: string) => string;
|
|
309
|
+
};
|
|
310
|
+
export type FilterType = {
|
|
311
|
+
showModal: boolean;
|
|
312
|
+
handleCloseModal: () => void;
|
|
313
|
+
filtros: FilterEmissaoValues | FilterConsultaValues | FilterConfigHistEmailValues;
|
|
314
|
+
setFiltros: React.Dispatch<React.SetStateAction<FilterEmissaoValues | FilterConsultaValues | FilterConfigHistEmailValues | FilterConfigHistEmailErroValues>>;
|
|
315
|
+
};
|
|
316
|
+
export type ModalConfigParamsDanfeValues = {
|
|
317
|
+
codempresa: AutocompleteType | undefined;
|
|
318
|
+
};
|
|
319
|
+
export type TypeInput = {
|
|
320
|
+
name: keyof FilterEmissaoValues;
|
|
321
|
+
label: string;
|
|
322
|
+
errors: FormikErrors<FilterEmissaoValues>;
|
|
323
|
+
values: FilterEmissaoValues;
|
|
324
|
+
list: AutocompleteType[];
|
|
325
|
+
setFieldValue: (field: string, value: any, shouldValidate?: boolean) => Promise<void | FormikErrors<FilterEmissaoValues>>;
|
|
326
|
+
handleChange: (e: React.ChangeEvent<any>) => void;
|
|
327
|
+
<T = string | React.ChangeEvent<any>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
|
|
328
|
+
selectedVariant: VariantType;
|
|
329
|
+
};
|
|
330
|
+
export type FilterCadastrosType = {
|
|
331
|
+
codigo: string;
|
|
332
|
+
descricao: string;
|
|
333
|
+
obs?: string;
|
|
334
|
+
ativo?: boolean;
|
|
335
|
+
federal?: boolean;
|
|
336
|
+
estadual?: boolean;
|
|
337
|
+
municipal?: boolean;
|
|
338
|
+
df?: boolean;
|
|
339
|
+
codFunc?: AutocompleteType;
|
|
340
|
+
};
|
|
341
|
+
export type FilterAuditoriaValues = {
|
|
342
|
+
usuario: AutocompleteType;
|
|
343
|
+
dataIni: string | Dayjs;
|
|
344
|
+
dataFim: string | Dayjs;
|
|
345
|
+
atividade: AutocompleteType;
|
|
346
|
+
modulo: AutocompleteType;
|
|
347
|
+
};
|
|
348
|
+
export type FilterConsultaUsuarios = {
|
|
349
|
+
codUsuario: number | null;
|
|
350
|
+
usuario: AutocompleteType | null;
|
|
351
|
+
nomeFuncionario: string | null;
|
|
352
|
+
cargo: string | null;
|
|
353
|
+
descricao: string | null;
|
|
354
|
+
};
|
|
355
|
+
export type ContainerFieldsType = {
|
|
356
|
+
title: string;
|
|
357
|
+
iconTitle: ReactElement;
|
|
358
|
+
errors: FormikErrors<FilterEmissaoValues | FilterConsultaValues | FormInutValues | FormEnvioEmail | ContasEmail | ModalConfigParamsDanfeValues | FilterCadastrosType | FilterAuditoriaValues | FilterConsultaUsuarios>;
|
|
359
|
+
values: FilterEmissaoValues | FilterConsultaValues | FormInutValues | FormEnvioEmail | ContasEmail | ModalConfigParamsDanfeValues | FilterConfigParamDanfeValues | FilterConfigHistEmailValues | FilterCadastrosType | FilterAuditoriaValues | FilterConsultaUsuarios;
|
|
360
|
+
fields: ItemContainerField[];
|
|
361
|
+
spacing: number;
|
|
362
|
+
minRows?: number;
|
|
363
|
+
maxRows?: number;
|
|
364
|
+
selectedVariant: VariantType;
|
|
365
|
+
containerWidth?: number;
|
|
366
|
+
extra?: React.ReactNode;
|
|
367
|
+
extraSize?: number;
|
|
368
|
+
};
|
|
369
|
+
export type ContainerInnerFieldsType = {
|
|
370
|
+
errors: FormikErrors<FilterEmissaoValues | FilterConsultaValues | FormInutValues | FormEnvioEmail | ContasEmail | ModalConfigParamsDanfeValues | FilterCadastrosType | FilterAuditoriaValues | FilterConsultaUsuarios>;
|
|
371
|
+
values: FilterEmissaoValues | FilterConsultaValues | FormInutValues | FormEnvioEmail | ContasEmail | ModalConfigParamsDanfeValues | FilterConfigParamDanfeValues | FilterConfigHistEmailValues | FilterCadastrosType | FilterAuditoriaValues | FilterConsultaUsuarios;
|
|
372
|
+
fields: ItemContainerField[];
|
|
373
|
+
spacing: number;
|
|
374
|
+
selectedVariant: VariantType;
|
|
375
|
+
};
|
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AuthCredentials } from "./Types/types";
|
|
2
|
+
export declare function isAuthCredentials(value: unknown): value is AuthCredentials;
|
|
3
|
+
export declare function isExpired(credentials: AuthCredentials): boolean;
|
|
4
|
+
export declare function isAuthenticated(credentials: unknown): credentials is AuthCredentials;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AuthCredentials, FilterConfigHistEmailErroValues, PerfilData, PrefContextType, SignType, TablesIds } from "./Types/types";
|
|
2
|
+
export declare const THEMES: {
|
|
3
|
+
DEFAULT: string;
|
|
4
|
+
DARK: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const secretCookieKey = "my_super_secret_key_1234567890!!";
|
|
7
|
+
export declare const DELPHI_COLORS: Record<string, string>;
|
|
8
|
+
export declare const VINTY_CREDENTIALS_KEY = "vinty_credentials";
|
|
9
|
+
export declare const AUTH_CREDENTIALS_PADRAO: AuthCredentials;
|
|
10
|
+
export declare const AUTH_SIGNIN_PADRAO: SignType;
|
|
11
|
+
export declare const PERFIL_DATA_PADRAO: PerfilData;
|
|
12
|
+
export declare const focusedColor = "#407AD6";
|
|
13
|
+
export declare const errorColor = "#f44336";
|
|
14
|
+
export declare const DEFAULT_TABLE_IDS: TablesIds;
|
|
15
|
+
export declare const FILTROS_HISTEMAIL_ERRO_PADRAO: FilterConfigHistEmailErroValues;
|
|
16
|
+
export declare const PREFS_CONTEXT_PADRAO: PrefContextType;
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* react-simple-keyboard v3.8.185
|
|
4
|
+
* https://github.com/hodgef/react-simple-keyboard
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
/*!
|
|
13
|
+
*
|
|
14
|
+
* simple-keyboard v3.8.125
|
|
15
|
+
* https://github.com/hodgef/simple-keyboard
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the MIT license found in the
|
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
|
21
|
+
*
|
|
22
|
+
*/.hg-theme-default{background-color:#ececec;border-radius:5px;box-sizing:border-box;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;overflow:hidden;padding:5px;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.hg-theme-default .hg-button span,.hg-theme-default .hg-button span svg{pointer-events:none}.hg-theme-default button.hg-button{border-width:0;font-size:inherit}.hg-theme-default .hg-button{display:inline-block;flex-grow:1}.hg-theme-default .hg-row{display:flex}.hg-theme-default .hg-row:not(:last-child){margin-bottom:5px}.hg-theme-default .hg-row .hg-button-container,.hg-theme-default .hg-row .hg-button:not(:last-child){margin-right:5px}.hg-theme-default .hg-row>div:last-child{margin-right:0}.hg-theme-default .hg-row .hg-button-container{display:flex}.hg-theme-default .hg-button{-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;background:#fff;border-bottom:1px solid #b5b5b5;border-radius:5px;box-shadow:0 0 3px -1px rgba(0,0,0,.3);box-sizing:border-box;cursor:pointer;display:flex;height:40px;justify-content:center;padding:5px}.hg-theme-default .hg-button.hg-standardBtn{width:20px}.hg-theme-default .hg-button.hg-activeButton{background:#efefef}.hg-theme-default.hg-layout-numeric .hg-button{align-items:center;display:flex;height:60px;justify-content:center;width:33.3%}.hg-theme-default .hg-button.hg-button-numpadadd,.hg-theme-default .hg-button.hg-button-numpadenter{height:85px}.hg-theme-default .hg-button.hg-button-numpad0{width:105px}.hg-theme-default .hg-button.hg-button-com{max-width:85px}.hg-theme-default .hg-button.hg-standardBtn.hg-button-at{max-width:45px}.hg-theme-default .hg-button.hg-selectedButton{background:rgba(5,25,70,.53);color:#fff}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"]{max-width:82px}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"]{max-width:60px}.hg-candidate-box{background:#ececec;border-bottom:2px solid #b5b5b5;border-radius:5px;display:inline-flex;margin-top:-10px;position:absolute;transform:translateY(-100%);-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.hg-candidate-box-list{display:flex;flex:1;list-style:none;margin:0;padding:0}li.hg-candidate-box-list-item{align-items:center;display:flex;height:40px;justify-content:center;width:40px}li.hg-candidate-box-list-item:hover{background:rgba(0,0,0,.03);cursor:pointer}li.hg-candidate-box-list-item:active{background:rgba(0,0,0,.1)}.hg-candidate-box-prev:before{content:"◄"}.hg-candidate-box-next:before{content:"►"}.hg-candidate-box-next,.hg-candidate-box-prev{align-items:center;color:#969696;cursor:pointer;display:flex;padding:0 10px}.hg-candidate-box-next{border-bottom-right-radius:5px;border-top-right-radius:5px}.hg-candidate-box-prev{border-bottom-left-radius:5px;border-top-left-radius:5px}.hg-candidate-box-btn-active{color:#444}
|