oxpi-nglib 2.0.74 → 3.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/fesm2022/oxpi-nglib.mjs +3090 -2935
- package/fesm2022/oxpi-nglib.mjs.map +1 -1
- package/package.json +5 -6
- package/types/oxpi-nglib.d.ts +1351 -0
|
@@ -0,0 +1,1351 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, PipeTransform, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i5 from '@angular/material/dialog';
|
|
4
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
|
+
import * as i3 from '@angular/material/button';
|
|
8
|
+
import * as i4 from '@angular/material/icon';
|
|
9
|
+
import * as i6 from '@angular/material/select';
|
|
10
|
+
import * as i7 from '@angular/material/datepicker';
|
|
11
|
+
import * as i8 from '@angular/material/checkbox';
|
|
12
|
+
import * as i9 from '@angular/material/autocomplete';
|
|
13
|
+
import * as i10 from '@angular/material/slide-toggle';
|
|
14
|
+
import * as i11 from 'ngx-mask';
|
|
15
|
+
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
16
|
+
import { Moment } from 'moment';
|
|
17
|
+
import * as _angular_animations from '@angular/animations';
|
|
18
|
+
import { HttpParams, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
|
|
19
|
+
import { Observable } from 'rxjs';
|
|
20
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
21
|
+
|
|
22
|
+
declare class FocusService {
|
|
23
|
+
_element: HTMLElement | undefined | null;
|
|
24
|
+
constructor();
|
|
25
|
+
hasInit(): boolean;
|
|
26
|
+
registerElementById(name: string): void;
|
|
27
|
+
registerElement(element: HTMLElement | null | undefined): void;
|
|
28
|
+
registerWindow(): void;
|
|
29
|
+
unregisterElementById(name: string): void;
|
|
30
|
+
unregisterElement(element: HTMLElement | null | undefined): void;
|
|
31
|
+
private handleKeyboardEvent;
|
|
32
|
+
setFirst(): void;
|
|
33
|
+
private getItems;
|
|
34
|
+
set(id: string): void;
|
|
35
|
+
setInsideContainer(parentId: string, elementId: string): void;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface Funcionario {
|
|
39
|
+
id: number;
|
|
40
|
+
nome: string;
|
|
41
|
+
cargoId: number;
|
|
42
|
+
login: string;
|
|
43
|
+
senha: string;
|
|
44
|
+
enviadoPC: boolean;
|
|
45
|
+
isAtivo: boolean;
|
|
46
|
+
atribuicaoConferenciaCheckout: boolean;
|
|
47
|
+
atribuicaoLimpeza: boolean;
|
|
48
|
+
atribuicaoLiberacaoLimpeza: boolean;
|
|
49
|
+
atribuicaoFinalizaPedido: boolean;
|
|
50
|
+
atribuicaoRevisao: boolean;
|
|
51
|
+
}
|
|
52
|
+
interface FuncionarioCargo {
|
|
53
|
+
id: number;
|
|
54
|
+
nome: string;
|
|
55
|
+
}
|
|
56
|
+
declare function validaFuncionario(item: Funcionario, focus: FocusService): string | null;
|
|
57
|
+
|
|
58
|
+
declare class FuncionarioAddDialogComponent implements OnInit {
|
|
59
|
+
private ws;
|
|
60
|
+
private notification;
|
|
61
|
+
dataDialog: Funcionario;
|
|
62
|
+
dialog: MatDialog;
|
|
63
|
+
private elRef;
|
|
64
|
+
private dialogRef;
|
|
65
|
+
private screenHelper;
|
|
66
|
+
private cdr;
|
|
67
|
+
model: Funcionario;
|
|
68
|
+
mobile: boolean;
|
|
69
|
+
isBusy: boolean;
|
|
70
|
+
focus: FocusService;
|
|
71
|
+
constructor();
|
|
72
|
+
ngOnInit(): void;
|
|
73
|
+
ngOnDestroy(): void;
|
|
74
|
+
salvar(): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FuncionarioAddDialogComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuncionarioAddDialogComponent, "ox-funcionario-add-dialog", never, {}, {}, never, never, true, never>;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare class FuncionarioEditDialogComponent implements OnInit {
|
|
80
|
+
private ws;
|
|
81
|
+
private notification;
|
|
82
|
+
dataDialog: Funcionario;
|
|
83
|
+
dialog: MatDialog;
|
|
84
|
+
private elRef;
|
|
85
|
+
private dialogRef;
|
|
86
|
+
private screenHelper;
|
|
87
|
+
private cdr;
|
|
88
|
+
model?: Funcionario;
|
|
89
|
+
mobile: boolean;
|
|
90
|
+
isBusy: boolean;
|
|
91
|
+
focus: FocusService;
|
|
92
|
+
constructor();
|
|
93
|
+
ngOnInit(): void;
|
|
94
|
+
ngOnDestroy(): void;
|
|
95
|
+
salvar(): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FuncionarioEditDialogComponent, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuncionarioEditDialogComponent, "ox-funcionario-edit-dialog", never, {}, {}, never, never, true, never>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class FuncionarioFormComponent implements OnInit {
|
|
101
|
+
private ws;
|
|
102
|
+
private cdr;
|
|
103
|
+
private _model?;
|
|
104
|
+
get model(): Funcionario | undefined;
|
|
105
|
+
set model(value: Funcionario | undefined);
|
|
106
|
+
isBusy: boolean;
|
|
107
|
+
cargos: FuncionarioCargo[];
|
|
108
|
+
exibeAtribuicoes: boolean;
|
|
109
|
+
ngOnInit(): void;
|
|
110
|
+
getCargos(): void;
|
|
111
|
+
cargoChanged(ev: any): void;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FuncionarioFormComponent, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuncionarioFormComponent, "ox-funcionario-form", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, true, never>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare class LazyTrigger {
|
|
117
|
+
private doFunc;
|
|
118
|
+
private timeout;
|
|
119
|
+
lazyTimeoutId?: number;
|
|
120
|
+
constructor(doFunc: () => void, timeout?: number);
|
|
121
|
+
fire(): void;
|
|
122
|
+
cancel(): void;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class SearchSetting {
|
|
126
|
+
private propChanged?;
|
|
127
|
+
frase?: string;
|
|
128
|
+
exibeInativo?: boolean;
|
|
129
|
+
inicial: Date;
|
|
130
|
+
final: Date;
|
|
131
|
+
modo: SearchMode;
|
|
132
|
+
mes: number;
|
|
133
|
+
ano: number;
|
|
134
|
+
ordem?: string;
|
|
135
|
+
ordemDecrescente?: boolean;
|
|
136
|
+
dateField?: string;
|
|
137
|
+
constructor(propChanged?: (() => void) | undefined);
|
|
138
|
+
set(prop: string, value: any): void;
|
|
139
|
+
toStringArquivo(): string;
|
|
140
|
+
_meses: string[];
|
|
141
|
+
_mesesShort: string[];
|
|
142
|
+
getDatasTexto(short?: boolean): string;
|
|
143
|
+
goNextMonth(): void;
|
|
144
|
+
goBackMonth(): void;
|
|
145
|
+
}
|
|
146
|
+
declare enum SearchMode {
|
|
147
|
+
Mensal = 0,
|
|
148
|
+
Anual = 1,
|
|
149
|
+
Periodo = 2,
|
|
150
|
+
Diario = 3
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare class FuncionariosComponent implements OnInit {
|
|
154
|
+
private ws;
|
|
155
|
+
private notification;
|
|
156
|
+
dialog: MatDialog;
|
|
157
|
+
private screenHelper;
|
|
158
|
+
private cdr;
|
|
159
|
+
mobile: boolean;
|
|
160
|
+
isBusy: boolean;
|
|
161
|
+
items: Funcionario[];
|
|
162
|
+
selectedItem: Funcionario | null;
|
|
163
|
+
lazyTrigger: LazyTrigger;
|
|
164
|
+
allowAdd: boolean;
|
|
165
|
+
allowExcluir: boolean;
|
|
166
|
+
setting: SearchSetting;
|
|
167
|
+
private focus;
|
|
168
|
+
constructor();
|
|
169
|
+
ngOnInit(): void;
|
|
170
|
+
onSelectItem(): void;
|
|
171
|
+
ngOnDestroy(): void;
|
|
172
|
+
atualiza(): void;
|
|
173
|
+
excluir(): void;
|
|
174
|
+
novo(): void;
|
|
175
|
+
abreCadastro(item: Funcionario): void;
|
|
176
|
+
salvar(): void;
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FuncionariosComponent, never>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuncionariosComponent, "ox-funcionarios", never, {}, {}, never, never, true, never>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
interface Pessoa {
|
|
182
|
+
id: number;
|
|
183
|
+
nome: string;
|
|
184
|
+
telefone?: string;
|
|
185
|
+
obs?: string;
|
|
186
|
+
fantasia?: string;
|
|
187
|
+
endereco?: string;
|
|
188
|
+
numero?: string;
|
|
189
|
+
complemento?: string;
|
|
190
|
+
bairro?: string;
|
|
191
|
+
uf?: string;
|
|
192
|
+
cidade?: string;
|
|
193
|
+
cep?: string;
|
|
194
|
+
cnpjCpf?: string;
|
|
195
|
+
cnpjCpfFormatado?: string | null;
|
|
196
|
+
ieRg?: string;
|
|
197
|
+
contato?: string;
|
|
198
|
+
email?: string;
|
|
199
|
+
fax?: string;
|
|
200
|
+
juridica?: boolean;
|
|
201
|
+
isAtivo: boolean;
|
|
202
|
+
enviadoPC?: boolean;
|
|
203
|
+
}
|
|
204
|
+
interface Fornecedor extends Pessoa {
|
|
205
|
+
}
|
|
206
|
+
interface Cliente extends Pessoa {
|
|
207
|
+
dataNascimento?: Date;
|
|
208
|
+
profissao?: string;
|
|
209
|
+
nacionalidade?: string;
|
|
210
|
+
sexo?: string;
|
|
211
|
+
orgaoExpedidor?: string;
|
|
212
|
+
ultimoDestino?: string;
|
|
213
|
+
proximoDestino?: string;
|
|
214
|
+
motivoViagem?: string;
|
|
215
|
+
meioTransporte?: string;
|
|
216
|
+
codigoMunicipio?: number;
|
|
217
|
+
recebeWhatsApp?: boolean;
|
|
218
|
+
recebeEmail?: boolean;
|
|
219
|
+
}
|
|
220
|
+
declare function validaPessoa(item: Pessoa, focus: FocusService): string | null;
|
|
221
|
+
|
|
222
|
+
declare class ClientesFormComponent implements OnInit {
|
|
223
|
+
model?: Cliente;
|
|
224
|
+
sexos: string[];
|
|
225
|
+
estados: string[];
|
|
226
|
+
constructor();
|
|
227
|
+
ngOnInit(): void;
|
|
228
|
+
changeDataInicio(d: Date): void;
|
|
229
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesFormComponent, never>;
|
|
230
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesFormComponent, "app-clientes-form", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, true, never>;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
declare class ClientesComponent implements OnInit {
|
|
234
|
+
private ws;
|
|
235
|
+
private notification;
|
|
236
|
+
dialog: MatDialog;
|
|
237
|
+
private screenHelper;
|
|
238
|
+
private cdr;
|
|
239
|
+
mobile: boolean;
|
|
240
|
+
isBusy: boolean;
|
|
241
|
+
items: Cliente[];
|
|
242
|
+
selectedItem: Cliente | null;
|
|
243
|
+
lazyTrigger: LazyTrigger;
|
|
244
|
+
allowAdd: boolean;
|
|
245
|
+
allowExcluir: boolean;
|
|
246
|
+
setting: SearchSetting;
|
|
247
|
+
private focus;
|
|
248
|
+
constructor();
|
|
249
|
+
ngOnInit(): void;
|
|
250
|
+
onSelectItem(): void;
|
|
251
|
+
ngOnDestroy(): void;
|
|
252
|
+
atualiza(): void;
|
|
253
|
+
excluir(): void;
|
|
254
|
+
novo(): void;
|
|
255
|
+
abreCadastro(item: Cliente): void;
|
|
256
|
+
salvar(): void;
|
|
257
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesComponent, never>;
|
|
258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesComponent, "app-clientes", never, {}, {}, never, never, true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class ClientesAddDialogComponent implements OnInit {
|
|
262
|
+
private ws;
|
|
263
|
+
private notification;
|
|
264
|
+
dataDialog: Cliente | null;
|
|
265
|
+
dialog: MatDialog;
|
|
266
|
+
private elRef;
|
|
267
|
+
private dialogRef;
|
|
268
|
+
private screenHelper;
|
|
269
|
+
private cdr;
|
|
270
|
+
model: Cliente;
|
|
271
|
+
mobile: boolean;
|
|
272
|
+
isBusy: boolean;
|
|
273
|
+
focus: FocusService;
|
|
274
|
+
constructor();
|
|
275
|
+
ngOnInit(): void;
|
|
276
|
+
ngOnDestroy(): void;
|
|
277
|
+
salvar(): void;
|
|
278
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesAddDialogComponent, never>;
|
|
279
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesAddDialogComponent, "app-clientes-add-dialog", never, {}, {}, never, never, true, never>;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare class ClientesEditDialogComponent implements OnInit {
|
|
283
|
+
private ws;
|
|
284
|
+
private notification;
|
|
285
|
+
dataDialog: Cliente;
|
|
286
|
+
dialog: MatDialog;
|
|
287
|
+
private elRef;
|
|
288
|
+
private dialogRef;
|
|
289
|
+
private screenHelper;
|
|
290
|
+
private cdr;
|
|
291
|
+
model?: Cliente;
|
|
292
|
+
mobile: boolean;
|
|
293
|
+
isBusy: boolean;
|
|
294
|
+
focus: FocusService;
|
|
295
|
+
constructor();
|
|
296
|
+
ngOnInit(): void;
|
|
297
|
+
ngOnDestroy(): void;
|
|
298
|
+
salvar(): void;
|
|
299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesEditDialogComponent, never>;
|
|
300
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesEditDialogComponent, "app-clientes-edit-dialog", never, {}, {}, never, never, true, never>;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
interface SelecaoDialog<TItem, TDialog> {
|
|
304
|
+
selectedItem: TItem | null | undefined;
|
|
305
|
+
dialogRef: MatDialogRef<TDialog>;
|
|
306
|
+
items: TItem[];
|
|
307
|
+
}
|
|
308
|
+
declare class NavegacaoSelecaoDialogUtil<TItem, TDialog> {
|
|
309
|
+
private view;
|
|
310
|
+
constructor(view: SelecaoDialog<TItem, TDialog>);
|
|
311
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
312
|
+
}
|
|
313
|
+
declare function confirmaExclusao(dialog: MatDialog, msg: string, continueFunc: () => void): void;
|
|
314
|
+
|
|
315
|
+
declare class SelecaoClienteDialogComponent implements OnInit {
|
|
316
|
+
dialogRef: MatDialogRef<SelecaoClienteDialogComponent, any>;
|
|
317
|
+
private ws;
|
|
318
|
+
private notification;
|
|
319
|
+
dialog: MatDialog;
|
|
320
|
+
private screenHelper;
|
|
321
|
+
private cdr;
|
|
322
|
+
items: Cliente[];
|
|
323
|
+
selectedItem: Cliente | null;
|
|
324
|
+
isBusy: boolean;
|
|
325
|
+
mobile: boolean;
|
|
326
|
+
allowAdd: boolean;
|
|
327
|
+
allowEdit: boolean;
|
|
328
|
+
setting: SearchSetting;
|
|
329
|
+
lazyTrigger: LazyTrigger;
|
|
330
|
+
nav: NavegacaoSelecaoDialogUtil<Cliente, SelecaoClienteDialogComponent>;
|
|
331
|
+
constructor();
|
|
332
|
+
ngOnInit(): void;
|
|
333
|
+
atualiza(): void;
|
|
334
|
+
selectItem(i: Cliente): void;
|
|
335
|
+
novo(): void;
|
|
336
|
+
editar(): void;
|
|
337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelecaoClienteDialogComponent, never>;
|
|
338
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelecaoClienteDialogComponent, "app-selecao-cliente-dialog", never, {}, {}, never, never, true, never>;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
declare class FornecedoresFormComponent implements OnInit {
|
|
342
|
+
_model?: Fornecedor;
|
|
343
|
+
get model(): Fornecedor | undefined;
|
|
344
|
+
set model(val: Fornecedor | undefined);
|
|
345
|
+
boolCpfCnpjValidado: boolean;
|
|
346
|
+
constructor();
|
|
347
|
+
ngOnInit(): void;
|
|
348
|
+
validarCpfCnpj(): void;
|
|
349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresFormComponent, never>;
|
|
350
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresFormComponent, "app-fornecedores-form", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, true, never>;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare class FornecedoresComponent implements OnInit, OnDestroy {
|
|
354
|
+
private ws;
|
|
355
|
+
private notification;
|
|
356
|
+
dialog: MatDialog;
|
|
357
|
+
private screenHelper;
|
|
358
|
+
private cdr;
|
|
359
|
+
mobile: boolean;
|
|
360
|
+
isBusy: boolean;
|
|
361
|
+
items: Fornecedor[];
|
|
362
|
+
selectedItem: Fornecedor | null;
|
|
363
|
+
lazyTrigger: LazyTrigger;
|
|
364
|
+
allowAdd: boolean;
|
|
365
|
+
allowExcluir: boolean;
|
|
366
|
+
setting: SearchSetting;
|
|
367
|
+
private focus;
|
|
368
|
+
constructor();
|
|
369
|
+
ngOnInit(): void;
|
|
370
|
+
onSelectItem(): void;
|
|
371
|
+
ngOnDestroy(): void;
|
|
372
|
+
atualiza(): void;
|
|
373
|
+
excluir(): void;
|
|
374
|
+
novo(): void;
|
|
375
|
+
abreCadastro(item: Fornecedor): void;
|
|
376
|
+
salvar(): void;
|
|
377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresComponent, never>;
|
|
378
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresComponent, "app-fornecedores", never, {}, {}, never, never, true, never>;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare class FornecedoresAddDialogComponent implements OnInit, OnDestroy {
|
|
382
|
+
private ws;
|
|
383
|
+
private notification;
|
|
384
|
+
dataDialog: Fornecedor | null;
|
|
385
|
+
dialog: MatDialog;
|
|
386
|
+
private elRef;
|
|
387
|
+
private dialogRef;
|
|
388
|
+
private screenHelper;
|
|
389
|
+
private cdr;
|
|
390
|
+
model: Fornecedor;
|
|
391
|
+
mobile: boolean;
|
|
392
|
+
isBusy: boolean;
|
|
393
|
+
focus: FocusService;
|
|
394
|
+
constructor();
|
|
395
|
+
ngOnInit(): void;
|
|
396
|
+
ngOnDestroy(): void;
|
|
397
|
+
salvar(): void;
|
|
398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresAddDialogComponent, never>;
|
|
399
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresAddDialogComponent, "app-fornecedores-add-dialog", never, {}, {}, never, never, true, never>;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
declare class FornecedoresEditDialogComponent implements OnInit, OnDestroy {
|
|
403
|
+
private ws;
|
|
404
|
+
private notification;
|
|
405
|
+
dataDialog: Fornecedor;
|
|
406
|
+
dialog: MatDialog;
|
|
407
|
+
private elRef;
|
|
408
|
+
private dialogRef;
|
|
409
|
+
private screenHelper;
|
|
410
|
+
private cdr;
|
|
411
|
+
model?: Fornecedor;
|
|
412
|
+
mobile: boolean;
|
|
413
|
+
isBusy: boolean;
|
|
414
|
+
focus: FocusService;
|
|
415
|
+
constructor();
|
|
416
|
+
ngOnInit(): void;
|
|
417
|
+
ngOnDestroy(): void;
|
|
418
|
+
salvar(): void;
|
|
419
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresEditDialogComponent, never>;
|
|
420
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresEditDialogComponent, "app-fornecedores-edit-dialog", never, {}, {}, never, never, true, never>;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
declare class SelecaoFornecedorDialogComponent implements OnInit {
|
|
424
|
+
dialogRef: MatDialogRef<SelecaoFornecedorDialogComponent, any>;
|
|
425
|
+
private ws;
|
|
426
|
+
private notification;
|
|
427
|
+
dialog: MatDialog;
|
|
428
|
+
private screenHelper;
|
|
429
|
+
private cdr;
|
|
430
|
+
items: Fornecedor[];
|
|
431
|
+
selectedItem: Fornecedor | null;
|
|
432
|
+
isBusy: boolean;
|
|
433
|
+
mobile: boolean;
|
|
434
|
+
allowAdd: boolean;
|
|
435
|
+
allowEdit: boolean;
|
|
436
|
+
setting: SearchSetting;
|
|
437
|
+
lazyTrigger: LazyTrigger;
|
|
438
|
+
nav: NavegacaoSelecaoDialogUtil<Fornecedor, SelecaoFornecedorDialogComponent>;
|
|
439
|
+
constructor();
|
|
440
|
+
ngOnInit(): void;
|
|
441
|
+
atualiza(): void;
|
|
442
|
+
selectItem(i: Fornecedor): void;
|
|
443
|
+
novo(): void;
|
|
444
|
+
editar(): void;
|
|
445
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelecaoFornecedorDialogComponent, never>;
|
|
446
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelecaoFornecedorDialogComponent, "app-selecao-fornecedor-dialog", never, {}, {}, never, never, true, never>;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
declare class BusyIndicatorComponent implements OnInit {
|
|
450
|
+
readonly isBusy: i0.InputSignal<boolean>;
|
|
451
|
+
constructor();
|
|
452
|
+
ngOnInit(): void;
|
|
453
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BusyIndicatorComponent, never>;
|
|
454
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BusyIndicatorComponent, "ox-busy-indicator", never, { "isBusy": { "alias": "isBusy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
declare class CheckButtonComponent implements OnInit {
|
|
458
|
+
checked: boolean;
|
|
459
|
+
readonly radioBehavior: i0.InputSignal<boolean>;
|
|
460
|
+
readonly changed: i0.OutputEmitterRef<boolean>;
|
|
461
|
+
constructor();
|
|
462
|
+
ngOnInit(): void;
|
|
463
|
+
onClick(e: any): void;
|
|
464
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckButtonComponent, never>;
|
|
465
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckButtonComponent, "ox-check-button", never, { "checked": { "alias": "checked"; "required": false; }; "radioBehavior": { "alias": "radioBehavior"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
declare class ImageViewerComponent implements OnInit {
|
|
469
|
+
info?: ImageViewerInfo;
|
|
470
|
+
infos: ImageViewerInfo[];
|
|
471
|
+
private _isOpen;
|
|
472
|
+
paginaAtual: number;
|
|
473
|
+
disableBack: boolean;
|
|
474
|
+
disableNext: boolean;
|
|
475
|
+
readonly isOpenChange: i0.OutputEmitterRef<boolean>;
|
|
476
|
+
get isOpen(): boolean;
|
|
477
|
+
set isOpen(val: boolean);
|
|
478
|
+
onClick(e: any): void;
|
|
479
|
+
constructor();
|
|
480
|
+
ngOnInit(): void;
|
|
481
|
+
open(info: ImageViewerInfo, infos: ImageViewerInfo[]): void;
|
|
482
|
+
goNext(): void;
|
|
483
|
+
goBack(): void;
|
|
484
|
+
updateUI(): void;
|
|
485
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>;
|
|
486
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageViewerComponent, "ox-image-viewer", never, { "info": { "alias": "info"; "required": false; }; "infos": { "alias": "infos"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "isOpenChange": "isOpenChange"; }, never, never, true, never>;
|
|
487
|
+
}
|
|
488
|
+
interface ImageViewerInfo {
|
|
489
|
+
url: string;
|
|
490
|
+
titulo: string;
|
|
491
|
+
id: any;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
declare class MonthYearPickerComponent implements OnInit {
|
|
495
|
+
readonly anoChange: i0.OutputEmitterRef<number>;
|
|
496
|
+
readonly mesChange: i0.OutputEmitterRef<number>;
|
|
497
|
+
readonly changed: i0.OutputEmitterRef<MonthYear>;
|
|
498
|
+
_init: boolean;
|
|
499
|
+
_ano: number;
|
|
500
|
+
_mes: number;
|
|
501
|
+
_modoAnual: boolean;
|
|
502
|
+
_meses: string[];
|
|
503
|
+
text: string;
|
|
504
|
+
disableNext: boolean;
|
|
505
|
+
readonly blockFuture: i0.InputSignal<boolean>;
|
|
506
|
+
get modoAnual(): boolean;
|
|
507
|
+
set modoAnual(val: boolean);
|
|
508
|
+
get ano(): number;
|
|
509
|
+
set ano(val: number);
|
|
510
|
+
get mes(): number;
|
|
511
|
+
set mes(val: number);
|
|
512
|
+
constructor();
|
|
513
|
+
ngOnInit(): void;
|
|
514
|
+
goBack(): void;
|
|
515
|
+
goNext(): void;
|
|
516
|
+
updateText(): void;
|
|
517
|
+
raiseOnSelectionChanged(): void;
|
|
518
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonthYearPickerComponent, never>;
|
|
519
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonthYearPickerComponent, "ox-month-year-picker", never, { "blockFuture": { "alias": "blockFuture"; "required": false; "isSignal": true; }; "modoAnual": { "alias": "modoAnual"; "required": false; }; "ano": { "alias": "ano"; "required": false; }; "mes": { "alias": "mes"; "required": false; }; }, { "anoChange": "anoChange"; "mesChange": "mesChange"; "changed": "changed"; }, never, never, true, never>;
|
|
520
|
+
}
|
|
521
|
+
interface MonthYear {
|
|
522
|
+
mes: number;
|
|
523
|
+
ano: number;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
declare class NumericPickerComponent implements OnInit {
|
|
527
|
+
readonly valueChange: i0.OutputEmitterRef<number>;
|
|
528
|
+
readonly change: i0.OutputEmitterRef<number>;
|
|
529
|
+
_value: number;
|
|
530
|
+
_max: number;
|
|
531
|
+
_min: number;
|
|
532
|
+
text: string;
|
|
533
|
+
disableNext: boolean;
|
|
534
|
+
disableBack: boolean;
|
|
535
|
+
get value(): number;
|
|
536
|
+
set value(val: number);
|
|
537
|
+
get max(): number;
|
|
538
|
+
set max(val: number);
|
|
539
|
+
get min(): number;
|
|
540
|
+
set min(val: number);
|
|
541
|
+
constructor();
|
|
542
|
+
ngOnInit(): void;
|
|
543
|
+
onTextEdit(ev: any): void;
|
|
544
|
+
goBack(): void;
|
|
545
|
+
goNext(): void;
|
|
546
|
+
refreshUI(): void;
|
|
547
|
+
valida(val: any): boolean;
|
|
548
|
+
raiseChange(): void;
|
|
549
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericPickerComponent, never>;
|
|
550
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericPickerComponent, "ox-numeric-picker", never, { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, never, never, true, never>;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
declare class PaginatorComponent implements OnInit {
|
|
554
|
+
readonly paginaAtualChange: i0.OutputEmitterRef<number>;
|
|
555
|
+
readonly totalPaginasChange: i0.OutputEmitterRef<number>;
|
|
556
|
+
readonly change: i0.OutputEmitterRef<number>;
|
|
557
|
+
_paginaAtual: number;
|
|
558
|
+
_totalPaginas: number;
|
|
559
|
+
inicio: boolean;
|
|
560
|
+
fim: boolean;
|
|
561
|
+
readonly pageSize: i0.InputSignal<number>;
|
|
562
|
+
get paginaAtual(): number;
|
|
563
|
+
set paginaAtual(val: number);
|
|
564
|
+
get totalPaginas(): number;
|
|
565
|
+
set totalPaginas(val: number);
|
|
566
|
+
constructor();
|
|
567
|
+
ngOnInit(): void;
|
|
568
|
+
trocaPagina(pagina: number): void;
|
|
569
|
+
refreshUI(): void;
|
|
570
|
+
goBack(): void;
|
|
571
|
+
goNext(): void;
|
|
572
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
573
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "ox-paginator", never, { "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "paginaAtual": { "alias": "paginaAtual"; "required": false; }; "totalPaginas": { "alias": "totalPaginas"; "required": false; }; }, { "paginaAtualChange": "paginaAtualChange"; "totalPaginasChange": "totalPaginasChange"; "change": "change"; }, never, never, true, never>;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
declare class RadioButtonGroupComponent implements OnInit {
|
|
577
|
+
readonly change: i0.OutputEmitterRef<RadioButtonGroupData>;
|
|
578
|
+
_items: RadioButtonGroupData[];
|
|
579
|
+
selectedItem: RadioButtonGroupData | null;
|
|
580
|
+
get items(): RadioButtonGroupData[];
|
|
581
|
+
set items(val: RadioButtonGroupData[]);
|
|
582
|
+
constructor();
|
|
583
|
+
ngOnInit(): void;
|
|
584
|
+
raiseChange(item: RadioButtonGroupData): void;
|
|
585
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonGroupComponent, never>;
|
|
586
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonGroupComponent, "ox-radio-button-group", never, { "selectedItem": { "alias": "selectedItem"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
587
|
+
}
|
|
588
|
+
interface RadioButtonGroupData {
|
|
589
|
+
name: string;
|
|
590
|
+
value: any;
|
|
591
|
+
default?: boolean;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
interface Usuario {
|
|
595
|
+
id: number;
|
|
596
|
+
login: string;
|
|
597
|
+
nome: string;
|
|
598
|
+
email: string;
|
|
599
|
+
isAdmin: boolean;
|
|
600
|
+
recebeEmailFinancas: boolean;
|
|
601
|
+
recebeEmailEstoque: boolean;
|
|
602
|
+
redeCargoId?: number;
|
|
603
|
+
redeCargoNome?: string;
|
|
604
|
+
enviadoPC: boolean;
|
|
605
|
+
}
|
|
606
|
+
interface IdLoginModel {
|
|
607
|
+
id: number;
|
|
608
|
+
login: string;
|
|
609
|
+
}
|
|
610
|
+
interface UsuarioPermissaoItem {
|
|
611
|
+
nome: string;
|
|
612
|
+
grupo: string;
|
|
613
|
+
subgrupo: string;
|
|
614
|
+
key: string;
|
|
615
|
+
permite: boolean;
|
|
616
|
+
definido: boolean;
|
|
617
|
+
}
|
|
618
|
+
interface PermissaoSubgrupoModel {
|
|
619
|
+
subgrupo: string;
|
|
620
|
+
permissoes: UsuarioPermissaoItem[];
|
|
621
|
+
}
|
|
622
|
+
interface PermissoesModulo {
|
|
623
|
+
nome: string;
|
|
624
|
+
grupo: string;
|
|
625
|
+
logoUrl: string;
|
|
626
|
+
subgrupos: PermissaoSubgrupoModel[];
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
interface IOwnership {
|
|
630
|
+
startTime?: Date;
|
|
631
|
+
usuarioId?: number;
|
|
632
|
+
usuarioLogin?: string;
|
|
633
|
+
modulo?: number;
|
|
634
|
+
endTime?: Date;
|
|
635
|
+
alteracoes?: string;
|
|
636
|
+
startEndElapsed?: string;
|
|
637
|
+
}
|
|
638
|
+
declare class Ownership implements IOwnership {
|
|
639
|
+
startTime?: Date;
|
|
640
|
+
usuarioId?: number;
|
|
641
|
+
usuarioLogin?: string;
|
|
642
|
+
modulo?: number;
|
|
643
|
+
endTime?: Date;
|
|
644
|
+
alteracoes?: string;
|
|
645
|
+
startEndElapsed?: string;
|
|
646
|
+
}
|
|
647
|
+
declare function setOwnershipLogin(ownership: IOwnership, usuarios: IdLoginModel[]): void;
|
|
648
|
+
|
|
649
|
+
declare class ItemCardComponent implements OnInit {
|
|
650
|
+
private auth;
|
|
651
|
+
readonly nome: i0.InputSignal<string | undefined>;
|
|
652
|
+
codigo?: string | number;
|
|
653
|
+
readonly star: i0.InputSignal<boolean | undefined>;
|
|
654
|
+
readonly cloud: i0.InputSignal<boolean | undefined>;
|
|
655
|
+
readonly desativado: i0.InputSignal<boolean | undefined>;
|
|
656
|
+
private _ownership?;
|
|
657
|
+
get ownership(): IOwnership | undefined;
|
|
658
|
+
set ownership(value: IOwnership | undefined);
|
|
659
|
+
ngOnInit(): void;
|
|
660
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemCardComponent, never>;
|
|
661
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemCardComponent, "ox-item-card", never, { "nome": { "alias": "nome"; "required": false; "isSignal": true; }; "codigo": { "alias": "codigo"; "required": false; }; "star": { "alias": "star"; "required": false; "isSignal": true; }; "cloud": { "alias": "cloud"; "required": false; "isSignal": true; }; "desativado": { "alias": "desativado"; "required": false; "isSignal": true; }; "ownership": { "alias": "ownership"; "required": false; }; }, {}, never, never, true, never>;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
declare class SelecaoListItemComponent {
|
|
665
|
+
text: String | null | undefined;
|
|
666
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelecaoListItemComponent, never>;
|
|
667
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelecaoListItemComponent, "ox-selecao-list-item", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
declare class AlertDialogComponent implements OnInit {
|
|
671
|
+
dialogRef: MatDialogRef<AlertDialogComponent, any>;
|
|
672
|
+
args: AlertDialogArgs;
|
|
673
|
+
ngOnInit(): void;
|
|
674
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertDialogComponent, never>;
|
|
675
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertDialogComponent, "app-alert-dialog", never, {}, {}, never, never, true, never>;
|
|
676
|
+
}
|
|
677
|
+
interface AlertDialogArgs {
|
|
678
|
+
titulo: string;
|
|
679
|
+
msg: string;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare class SafeHtmlPipe implements PipeTransform {
|
|
683
|
+
private sanitizer;
|
|
684
|
+
transform(html: string): _angular_platform_browser.SafeHtml;
|
|
685
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
686
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
declare global {
|
|
690
|
+
interface String {
|
|
691
|
+
isEmpty(): boolean;
|
|
692
|
+
}
|
|
693
|
+
interface Array<T> {
|
|
694
|
+
firstOrNull(): T | null;
|
|
695
|
+
remove(item: T): boolean;
|
|
696
|
+
}
|
|
697
|
+
interface Date {
|
|
698
|
+
addDays(days: number): Date;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
declare class OxpiNglibModule {
|
|
702
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OxpiNglibModule, never>;
|
|
703
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OxpiNglibModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatDialogModule, typeof i6.MatSelectModule, typeof i7.MatDatepickerModule, typeof i8.MatCheckboxModule, typeof i9.MatAutocompleteModule, typeof i10.MatSlideToggleModule, typeof i11.NgxMaskDirective, typeof i11.NgxMaskPipe, typeof BusyIndicatorComponent, typeof MonthYearPickerComponent, typeof ImageViewerComponent, typeof NumericPickerComponent, typeof PaginatorComponent, typeof CheckButtonComponent, typeof RadioButtonGroupComponent, typeof ItemCardComponent, typeof SafeHtmlPipe, typeof AlertDialogComponent, typeof FuncionariosComponent, typeof FuncionarioFormComponent, typeof FuncionarioEditDialogComponent, typeof FuncionarioAddDialogComponent, typeof ClientesFormComponent, typeof ClientesComponent, typeof ClientesAddDialogComponent, typeof ClientesEditDialogComponent, typeof SelecaoClienteDialogComponent, typeof FornecedoresFormComponent, typeof FornecedoresComponent, typeof FornecedoresAddDialogComponent, typeof FornecedoresEditDialogComponent, typeof SelecaoFornecedorDialogComponent, typeof SelecaoListItemComponent], [typeof BusyIndicatorComponent, typeof MonthYearPickerComponent, typeof ImageViewerComponent, typeof NumericPickerComponent, typeof PaginatorComponent, typeof CheckButtonComponent, typeof RadioButtonGroupComponent, typeof ItemCardComponent, typeof SelecaoListItemComponent, typeof SafeHtmlPipe]>;
|
|
704
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OxpiNglibModule>;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
interface IdNomeModel {
|
|
708
|
+
id: number;
|
|
709
|
+
nome: string;
|
|
710
|
+
}
|
|
711
|
+
interface IdDescricaoModel {
|
|
712
|
+
id: number;
|
|
713
|
+
descricao: string;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
interface LoginItem {
|
|
717
|
+
empresa: string;
|
|
718
|
+
login: string;
|
|
719
|
+
token: string;
|
|
720
|
+
empresaAppNome: string;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
interface Permissoes {
|
|
724
|
+
gerencialCaixasAgrupadoMensal: boolean;
|
|
725
|
+
gerencialAtividadesUsuarios: boolean;
|
|
726
|
+
gerencialAuditorias: boolean;
|
|
727
|
+
gerencialOcorrenciasManutencao: boolean;
|
|
728
|
+
gerencialOcorrenciasManutencaoEditar: boolean;
|
|
729
|
+
gerencialDuplicataOcupacao: boolean;
|
|
730
|
+
financasLogin: boolean;
|
|
731
|
+
financasLoginApenasWeb: boolean;
|
|
732
|
+
financasDespesaAdd: boolean;
|
|
733
|
+
financasDespesaUltimosCadastros: boolean;
|
|
734
|
+
financasDespesaPesquisar: boolean;
|
|
735
|
+
financasDespesaDelete: boolean;
|
|
736
|
+
financasDespesaEditar: boolean;
|
|
737
|
+
financasReceitaAdd: boolean;
|
|
738
|
+
financasReceitaUltimosCadastros: boolean;
|
|
739
|
+
financasReceitaPesquisar: boolean;
|
|
740
|
+
financasReceitaDelete: boolean;
|
|
741
|
+
financasReceitaEditar: boolean;
|
|
742
|
+
financasClientePesquisa: boolean;
|
|
743
|
+
financasClienteAdd: boolean;
|
|
744
|
+
financasClienteDelete: boolean;
|
|
745
|
+
financasFornecedorPesquisa: boolean;
|
|
746
|
+
financasFornecedorAdd: boolean;
|
|
747
|
+
financasFornecedorDelete: boolean;
|
|
748
|
+
financasMarcadorPesquisa: boolean;
|
|
749
|
+
financasMarcadorAdd: boolean;
|
|
750
|
+
financasMarcadorDelete: boolean;
|
|
751
|
+
financasDespesaGrupoPesquisa: boolean;
|
|
752
|
+
financasDespesaGrupoAdd: boolean;
|
|
753
|
+
financasDespesaGrupoDelete: boolean;
|
|
754
|
+
financasReceitaGrupoPesquisa: boolean;
|
|
755
|
+
financasReceitaGrupoAdd: boolean;
|
|
756
|
+
financasReceitaGrupoDelete: boolean;
|
|
757
|
+
financasContaPesquisa: boolean;
|
|
758
|
+
financasContaAdd: boolean;
|
|
759
|
+
financasContaDelete: boolean;
|
|
760
|
+
financasExtrato: boolean;
|
|
761
|
+
financasContaAjuste: boolean;
|
|
762
|
+
financasGradeAnualDespesa: boolean;
|
|
763
|
+
financasGradeAnualReceita: boolean;
|
|
764
|
+
financasMensal: boolean;
|
|
765
|
+
financasResumoDiario: boolean;
|
|
766
|
+
financasConfiguracoes: boolean;
|
|
767
|
+
recepcaoEnergizar: boolean;
|
|
768
|
+
recepcaoConfiguracoes: boolean;
|
|
769
|
+
recepcaoTrocaOperador: boolean;
|
|
770
|
+
recepcaoCancelarOcupacao: boolean;
|
|
771
|
+
recepcaoAcrescimo: boolean;
|
|
772
|
+
recepcaoDesconto: boolean;
|
|
773
|
+
recepcaoLimpeza: boolean;
|
|
774
|
+
recepcaoAtrasarHora: boolean;
|
|
775
|
+
gerencialLogin: boolean;
|
|
776
|
+
gerencialPrincipal: boolean;
|
|
777
|
+
gerencialPrincipalCaixa: boolean;
|
|
778
|
+
gerencialPrincipalInfo: boolean;
|
|
779
|
+
gerencialPrincipalQuantidadeOcupacoesDia: boolean;
|
|
780
|
+
gerencialDiario: boolean;
|
|
781
|
+
gerencialMensal: boolean;
|
|
782
|
+
gerencialResumoMensal: boolean;
|
|
783
|
+
gerencialPorFormaPagamento: boolean;
|
|
784
|
+
gerencialMediaTempoOcupacao: boolean;
|
|
785
|
+
gerencialPorOcupacao: boolean;
|
|
786
|
+
gerencialOcupacoesCanceladas: boolean;
|
|
787
|
+
gerencialAgrupado: boolean;
|
|
788
|
+
gerencialPorTurno: boolean;
|
|
789
|
+
gerencialConsumoFuncionarios: boolean;
|
|
790
|
+
gerencialConsumoProdutos: boolean;
|
|
791
|
+
gerencialImagensrecepcao: boolean;
|
|
792
|
+
gerencialCaixas: boolean;
|
|
793
|
+
gerencialVerificacaoCaixa: boolean;
|
|
794
|
+
gerencialComandasPorCaixa: boolean;
|
|
795
|
+
gerencialRegistrorecepcao: boolean;
|
|
796
|
+
gerencialAgrupadoDia: boolean;
|
|
797
|
+
gerencialLogUsuarios: boolean;
|
|
798
|
+
gerencialPesquisaOcupacoes: boolean;
|
|
799
|
+
gerencialDescontos: boolean;
|
|
800
|
+
gerencialGraficoMensal: boolean;
|
|
801
|
+
gerencialGraficoDiaSemana: boolean;
|
|
802
|
+
gerencialGraficoAnual: boolean;
|
|
803
|
+
gerencialGraficoSituacaoSuite: boolean;
|
|
804
|
+
gerencialOcupacoesHoraClasse: boolean;
|
|
805
|
+
gerencialLimpezasStatus: boolean;
|
|
806
|
+
gerencialVendasPorRecepcionistas: boolean;
|
|
807
|
+
gerencialPedidos: boolean;
|
|
808
|
+
gerencialConferenciaCheckout: boolean;
|
|
809
|
+
estoqueLogin: boolean;
|
|
810
|
+
estoqueListaCompras: boolean;
|
|
811
|
+
estoqueListaProdutoGrupo: boolean;
|
|
812
|
+
estoqueMovimento: boolean;
|
|
813
|
+
estoqueSaldoProdutos: boolean;
|
|
814
|
+
estoqueNotaEntradaAdd: boolean;
|
|
815
|
+
estoqueNotaEntradaDelete: boolean;
|
|
816
|
+
estoqueNotaSaidaAdd: boolean;
|
|
817
|
+
estoqueNotaSaidaDelete: boolean;
|
|
818
|
+
estoqueAjusteAdd: boolean;
|
|
819
|
+
estoqueAjusteDelete: boolean;
|
|
820
|
+
estoqueTrocaSetorAdd: boolean;
|
|
821
|
+
estoqueTrocaSetorDelete: boolean;
|
|
822
|
+
estoqueAuditoriaAdd: boolean;
|
|
823
|
+
estoqueAuditoriaList: boolean;
|
|
824
|
+
estoqueFornecedorPesquisa: boolean;
|
|
825
|
+
estoqueFornecedorAdd: boolean;
|
|
826
|
+
estoqueFornecedorDelete: boolean;
|
|
827
|
+
estoqueClientePesquisa: boolean;
|
|
828
|
+
estoqueClienteAdd: boolean;
|
|
829
|
+
estoqueClienteDelete: boolean;
|
|
830
|
+
estoqueSetorPesquisa: boolean;
|
|
831
|
+
estoqueSetorAdd: boolean;
|
|
832
|
+
estoqueSetorDelete: boolean;
|
|
833
|
+
estoqueProdutoPesquisa: boolean;
|
|
834
|
+
estoqueProdutoAdd: boolean;
|
|
835
|
+
estoqueProdutoDelete: boolean;
|
|
836
|
+
estoqueProdutoGrupoPesquisa: boolean;
|
|
837
|
+
estoqueProdutoGrupoAdd: boolean;
|
|
838
|
+
estoqueProdutoGrupoDelete: boolean;
|
|
839
|
+
estoqueConfiguracao: boolean;
|
|
840
|
+
adminLogin: boolean;
|
|
841
|
+
adminProdutoPesquisa: boolean;
|
|
842
|
+
adminProdutoAdd: boolean;
|
|
843
|
+
adminProdutoDelete: boolean;
|
|
844
|
+
adminProdutoGrupoPesquisa: boolean;
|
|
845
|
+
adminProdutoGrupoAdd: boolean;
|
|
846
|
+
adminProdutoGrupoDelete: boolean;
|
|
847
|
+
adminSuitePesquisa: boolean;
|
|
848
|
+
adminSuiteAdd: boolean;
|
|
849
|
+
adminSuiteDelete: boolean;
|
|
850
|
+
adminSuiteClassePesquisa: boolean;
|
|
851
|
+
adminSuiteClasseAdd: boolean;
|
|
852
|
+
adminSuiteClasseDelete: boolean;
|
|
853
|
+
adminOperadorPesquisa: boolean;
|
|
854
|
+
adminOperadorAdd: boolean;
|
|
855
|
+
adminOperadorDelete: boolean;
|
|
856
|
+
adminFuncionarioPesquisa: boolean;
|
|
857
|
+
adminFuncionarioAdd: boolean;
|
|
858
|
+
adminFuncionarioDelete: boolean;
|
|
859
|
+
adminUsuariosPesquisa: boolean;
|
|
860
|
+
adminUsuariosAdd: boolean;
|
|
861
|
+
adminUsuariosDelete: boolean;
|
|
862
|
+
adminPrecos: boolean;
|
|
863
|
+
adminPatrimonios: boolean;
|
|
864
|
+
adminDefinicoesGerais: boolean;
|
|
865
|
+
adminEditarComanda: boolean;
|
|
866
|
+
adminCortesiaVale: boolean;
|
|
867
|
+
adminClienteFidelidade: boolean;
|
|
868
|
+
adminConfiguracoes: boolean;
|
|
869
|
+
adminPesquisaSatisfacao: boolean;
|
|
870
|
+
adminReservaVisualiza: boolean;
|
|
871
|
+
adminReservaEdit: boolean;
|
|
872
|
+
onGerencialLogin: boolean;
|
|
873
|
+
onGerencialPrincipal: boolean;
|
|
874
|
+
onGerencialDiario: boolean;
|
|
875
|
+
onGerencialMensal: boolean;
|
|
876
|
+
onGerencialPorFormaPagamento: boolean;
|
|
877
|
+
onGerencialMediaTempoOcupacao: boolean;
|
|
878
|
+
onGerencialPorOcupacao: boolean;
|
|
879
|
+
onGerencialOcupacoesCanceladas: boolean;
|
|
880
|
+
onGerencialAgrupadoDia: boolean;
|
|
881
|
+
onGerencialPorTurno: boolean;
|
|
882
|
+
onGerencialConsumoFuncionarios: boolean;
|
|
883
|
+
onGerencialConsumoProdutos: boolean;
|
|
884
|
+
onGerencialImagensRecepcao: boolean;
|
|
885
|
+
onGerencialCaixas: boolean;
|
|
886
|
+
onGerencialComandasPorCaixa: boolean;
|
|
887
|
+
onGerencialRegistroRecepcao: boolean;
|
|
888
|
+
onGerencialGraficoMensal: boolean;
|
|
889
|
+
onGerencialGraficoDiaSemana: boolean;
|
|
890
|
+
onGerencialGraficoAnual: boolean;
|
|
891
|
+
onGerencialGraficoSituacaoSuite: boolean;
|
|
892
|
+
onGerencialOcupacoesHoraClasse: boolean;
|
|
893
|
+
onadminLogin: boolean;
|
|
894
|
+
onadminProdutoPesquisa: boolean;
|
|
895
|
+
onadminProdutoAdd: boolean;
|
|
896
|
+
onadminProdutoDelete: boolean;
|
|
897
|
+
onadminProdutoGrupoPesquisa: boolean;
|
|
898
|
+
onadminProdutoGrupoAdd: boolean;
|
|
899
|
+
onadminProdutoGrupoDelete: boolean;
|
|
900
|
+
onadminSuitePesquisa: boolean;
|
|
901
|
+
onadminSuiteAdd: boolean;
|
|
902
|
+
onadminSuiteDelete: boolean;
|
|
903
|
+
onadminSuiteClassePesquisa: boolean;
|
|
904
|
+
onadminSuiteClasseAdd: boolean;
|
|
905
|
+
onadminSuiteClasseDelete: boolean;
|
|
906
|
+
onadminUsuariosPesquisa: boolean;
|
|
907
|
+
onadminUsuariosAdd: boolean;
|
|
908
|
+
onadminUsuariosDelete: boolean;
|
|
909
|
+
onadminOperadorPesquisa: boolean;
|
|
910
|
+
onadminOperadorAdd: boolean;
|
|
911
|
+
onadminOperadorDelete: boolean;
|
|
912
|
+
onadminFuncionarioPesquisa: boolean;
|
|
913
|
+
onadminFuncionarioAdd: boolean;
|
|
914
|
+
onadminFuncionarioDelete: boolean;
|
|
915
|
+
onadminPrecos: boolean;
|
|
916
|
+
onadminDefinicoesGerais: boolean;
|
|
917
|
+
onadminCortesiaVale: boolean;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
interface SensoresDef {
|
|
921
|
+
energizacao: boolean;
|
|
922
|
+
garagem: boolean;
|
|
923
|
+
portaCliente: boolean;
|
|
924
|
+
portaServico: boolean;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
interface LoginResult {
|
|
928
|
+
token: string;
|
|
929
|
+
empresaNome: string;
|
|
930
|
+
empresaId: number;
|
|
931
|
+
redeId?: number | null;
|
|
932
|
+
redeNome?: string | null;
|
|
933
|
+
perfilEmpresa?: number | null;
|
|
934
|
+
userId: number;
|
|
935
|
+
login: string;
|
|
936
|
+
permissoes: Permissoes;
|
|
937
|
+
email: string;
|
|
938
|
+
sensoresDef: SensoresDef;
|
|
939
|
+
nome: string;
|
|
940
|
+
usaEstoqueOnline: boolean;
|
|
941
|
+
usaFinancasOnline: boolean;
|
|
942
|
+
usuarios: IdLoginModel[];
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
interface SetorEstoque {
|
|
946
|
+
id: number;
|
|
947
|
+
nome: string;
|
|
948
|
+
isAtivo: boolean;
|
|
949
|
+
enviadoPC: boolean;
|
|
950
|
+
marcadoExclusao: boolean;
|
|
951
|
+
}
|
|
952
|
+
declare function validaSetorEstoque(item: SetorEstoque, focus: FocusService): string | null;
|
|
953
|
+
|
|
954
|
+
interface Operador {
|
|
955
|
+
id: number;
|
|
956
|
+
login: string;
|
|
957
|
+
senha: string;
|
|
958
|
+
nome: string;
|
|
959
|
+
pronuncia: string;
|
|
960
|
+
isAtivo: boolean;
|
|
961
|
+
}
|
|
962
|
+
declare function validaOperador(item: Operador, focus: FocusService): string | null;
|
|
963
|
+
|
|
964
|
+
interface SuiteBase {
|
|
965
|
+
id: number;
|
|
966
|
+
referencia: number;
|
|
967
|
+
nome: string;
|
|
968
|
+
classeId: number;
|
|
969
|
+
classeNome: string;
|
|
970
|
+
ramalTelefonico: number;
|
|
971
|
+
isAtivo: boolean;
|
|
972
|
+
isApartamento: boolean;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
interface Tuple<T, T2> {
|
|
976
|
+
item1: T;
|
|
977
|
+
item2: T2;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
declare class BusyState {
|
|
981
|
+
private _isBusy;
|
|
982
|
+
private counter;
|
|
983
|
+
get isBusy(): boolean;
|
|
984
|
+
show(): void;
|
|
985
|
+
hide(): void;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
declare class NumberParser {
|
|
989
|
+
private setPropFunc;
|
|
990
|
+
private getPropFunc;
|
|
991
|
+
private min?;
|
|
992
|
+
private max?;
|
|
993
|
+
private _parseTrigger;
|
|
994
|
+
valor: string | undefined;
|
|
995
|
+
parsed: boolean;
|
|
996
|
+
constructor(setPropFunc: (newValue: number | null) => void, getPropFunc: () => number | null, min?: number | undefined, max?: number | undefined, triggerMilliseconds?: number);
|
|
997
|
+
parse(vlr: string): void;
|
|
998
|
+
store(vlr: string): void;
|
|
999
|
+
checkout(): void;
|
|
1000
|
+
private parseValor;
|
|
1001
|
+
private validaMinMax;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
declare class Ordem {
|
|
1005
|
+
isCrescente: boolean;
|
|
1006
|
+
colName: string;
|
|
1007
|
+
onToggle?: () => void;
|
|
1008
|
+
constructor(ordens: OrdemInfo[], isCrescente: boolean, onToggle?: () => void);
|
|
1009
|
+
toggle(): void;
|
|
1010
|
+
toString(): string;
|
|
1011
|
+
}
|
|
1012
|
+
interface OrdemInfo {
|
|
1013
|
+
name: string;
|
|
1014
|
+
value: string;
|
|
1015
|
+
default?: boolean;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
interface PagingResult<T> {
|
|
1019
|
+
quantidade: number;
|
|
1020
|
+
valor: number;
|
|
1021
|
+
items: Array<T>;
|
|
1022
|
+
jsonObjec?: string;
|
|
1023
|
+
valueObject?: any;
|
|
1024
|
+
pagina: number;
|
|
1025
|
+
totalPaginas: number;
|
|
1026
|
+
inicioQtd: number;
|
|
1027
|
+
finalQtd: number;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare function printTxt(txt: string): void;
|
|
1031
|
+
declare function printHtml(r: any): void;
|
|
1032
|
+
declare function selectText(ev: any): void;
|
|
1033
|
+
declare function formatCpfCnpj(cpfCnpj: string | null | undefined): string | null;
|
|
1034
|
+
declare function validCpf(cpf: string): boolean;
|
|
1035
|
+
declare function validaCnpj(cnpj: string): boolean;
|
|
1036
|
+
|
|
1037
|
+
declare function valTextEmpty(v: string | null | undefined): boolean;
|
|
1038
|
+
declare function valNumberEmpty(v: number | null | undefined): boolean;
|
|
1039
|
+
declare function valTextMax(v: string, max: number): boolean;
|
|
1040
|
+
declare function valNumberMin(v: number | null | undefined, min: number): boolean;
|
|
1041
|
+
declare function isNullOrUndefined(v: Object): boolean;
|
|
1042
|
+
declare function isNotNullOrUndefined(v: Object): boolean;
|
|
1043
|
+
|
|
1044
|
+
declare function geraNomeArquivo(fileName: string, s: SearchSetting): string;
|
|
1045
|
+
declare function convertToStringArquivo(s: SearchSetting): string;
|
|
1046
|
+
declare function formatDayMonthYear(d: Date | Moment): string;
|
|
1047
|
+
|
|
1048
|
+
declare const fadeAnimation: _angular_animations.AnimationTriggerMetadata;
|
|
1049
|
+
declare const menuLateralAnimation: _angular_animations.AnimationTriggerMetadata;
|
|
1050
|
+
|
|
1051
|
+
declare class PagamentoRecebimentoSearchSetting extends SearchSetting {
|
|
1052
|
+
exibirPagamentos: boolean;
|
|
1053
|
+
exibirRecebimentos: boolean;
|
|
1054
|
+
gruposDespesasIds: number[];
|
|
1055
|
+
gruposReceitasIds: number[];
|
|
1056
|
+
marcadoresIds: number[];
|
|
1057
|
+
contasIds: number[];
|
|
1058
|
+
constructor();
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
declare class OcupacaoFilterSetting extends SearchSetting {
|
|
1062
|
+
dom: boolean;
|
|
1063
|
+
seg: boolean;
|
|
1064
|
+
ter: boolean;
|
|
1065
|
+
qua: boolean;
|
|
1066
|
+
qui: boolean;
|
|
1067
|
+
sex: boolean;
|
|
1068
|
+
sab: boolean;
|
|
1069
|
+
exibirPernoite?: boolean;
|
|
1070
|
+
exibirNormal?: boolean;
|
|
1071
|
+
modos?: number[];
|
|
1072
|
+
constructor();
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
declare class OcupacaoSearchSetting extends OcupacaoFilterSetting {
|
|
1076
|
+
clienteFidelidadeId?: number;
|
|
1077
|
+
incluiOcupacaoAberta?: boolean;
|
|
1078
|
+
dateFieldEnum: OcupacaoSearchDateField;
|
|
1079
|
+
tipoEntrada?: OcupacaoSearchTipoEntrada;
|
|
1080
|
+
conducao?: OcupacaoConducao;
|
|
1081
|
+
mostrouContaMult?: boolean;
|
|
1082
|
+
mostrouContaMaiorMenor?: boolean;
|
|
1083
|
+
mostrouContaSemCarro?: boolean;
|
|
1084
|
+
teveExclusaoProduto?: boolean;
|
|
1085
|
+
teveTransferencia?: boolean;
|
|
1086
|
+
teveEdicaoFormaPgto?: boolean;
|
|
1087
|
+
teveDesconto?: boolean;
|
|
1088
|
+
teveAcrescimo?: boolean;
|
|
1089
|
+
teveCortesia?: boolean;
|
|
1090
|
+
teveConsumo?: boolean;
|
|
1091
|
+
teveExcesso?: boolean;
|
|
1092
|
+
tevePernoite?: boolean;
|
|
1093
|
+
teveNormal?: boolean;
|
|
1094
|
+
tevePessoaExtra?: boolean;
|
|
1095
|
+
suites?: number[];
|
|
1096
|
+
marcador?: number;
|
|
1097
|
+
caixas?: number[];
|
|
1098
|
+
placas?: string[];
|
|
1099
|
+
classes?: number[];
|
|
1100
|
+
operadores?: number[];
|
|
1101
|
+
teveClienteFidelidade?: boolean;
|
|
1102
|
+
teveNegociacao?: boolean;
|
|
1103
|
+
teveMudancaModalidade?: boolean;
|
|
1104
|
+
formaPagamento?: number;
|
|
1105
|
+
produtosGrupos?: number[];
|
|
1106
|
+
imprimeEntradasVeiculos?: boolean;
|
|
1107
|
+
cuponsPromocionais?: string[];
|
|
1108
|
+
naoFoiHospedagem?: boolean;
|
|
1109
|
+
constructor();
|
|
1110
|
+
}
|
|
1111
|
+
declare enum PorOcupacaoTipo {
|
|
1112
|
+
PorSuite = 0,
|
|
1113
|
+
PorClasse = 1,
|
|
1114
|
+
PorPermanencia = 2
|
|
1115
|
+
}
|
|
1116
|
+
declare enum OcupacaoSearchDateField {
|
|
1117
|
+
DataBaseCaixa = 0,
|
|
1118
|
+
Entrada = 1,
|
|
1119
|
+
Saida = 2,
|
|
1120
|
+
EntradaSaida = 3,
|
|
1121
|
+
Fechamento = 4,
|
|
1122
|
+
LancamentoConsumo = 5
|
|
1123
|
+
}
|
|
1124
|
+
declare enum OcupacaoSearchTipoEntrada {
|
|
1125
|
+
Todas = 0,
|
|
1126
|
+
Auto = 1,
|
|
1127
|
+
Manual = 2
|
|
1128
|
+
}
|
|
1129
|
+
declare enum OcupacaoConducao {
|
|
1130
|
+
Carro = 0,
|
|
1131
|
+
Moto = 1,
|
|
1132
|
+
APe = 2,
|
|
1133
|
+
Carros = 3,
|
|
1134
|
+
Taxi = 4
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
declare class ConsumoProdutoSearchSetting extends SearchSetting {
|
|
1138
|
+
porPeriodoHora?: boolean;
|
|
1139
|
+
horaInicial?: number;
|
|
1140
|
+
horaFinal?: number;
|
|
1141
|
+
minutoInicial?: number;
|
|
1142
|
+
minutoFinal?: number;
|
|
1143
|
+
porFaixaHorarioHoraInicial?: number;
|
|
1144
|
+
porFaixaHorarioHoraFinal?: number;
|
|
1145
|
+
porFaixaHorario: boolean;
|
|
1146
|
+
exibeVendas: boolean;
|
|
1147
|
+
exibeDiretaFunc: boolean;
|
|
1148
|
+
exibeConsumoInterno: boolean;
|
|
1149
|
+
operadorId?: number;
|
|
1150
|
+
grupoId?: number;
|
|
1151
|
+
porSubgrupo: boolean;
|
|
1152
|
+
dateFieldEnum: OcupacaoSearchDateField;
|
|
1153
|
+
exibirPernoite?: boolean;
|
|
1154
|
+
exibirNormal?: boolean;
|
|
1155
|
+
exibirPedido?: boolean;
|
|
1156
|
+
exibirCamareiraCheckout?: boolean;
|
|
1157
|
+
exibirPedidoCliente?: boolean;
|
|
1158
|
+
exibirLancamentoComanda?: boolean;
|
|
1159
|
+
constructor();
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
declare class DuplicataSearchSetting extends SearchSetting {
|
|
1163
|
+
isDespesa: boolean;
|
|
1164
|
+
exibeQuitado: boolean;
|
|
1165
|
+
exibeParcial: boolean;
|
|
1166
|
+
exibeEmAberto: boolean;
|
|
1167
|
+
pessoaId?: number;
|
|
1168
|
+
grupoId?: number;
|
|
1169
|
+
gruposIds?: number[];
|
|
1170
|
+
marcadoresIds?: number[];
|
|
1171
|
+
marcadorId?: number;
|
|
1172
|
+
apenasNaoOperacional?: boolean;
|
|
1173
|
+
apenasOperacional?: boolean;
|
|
1174
|
+
apenasNaoOperacionais?: boolean;
|
|
1175
|
+
ultimosCadastrados: boolean;
|
|
1176
|
+
contasIds?: number[];
|
|
1177
|
+
constructor(isDespesa: boolean, propChanged?: () => void);
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
declare class ProdutoSearchSetting extends SearchSetting {
|
|
1181
|
+
exibeControladoEstoque: boolean;
|
|
1182
|
+
exibeMostraRecepcao: boolean;
|
|
1183
|
+
exibeImprimeCozinha: boolean;
|
|
1184
|
+
exibeImprimeCorredor: boolean;
|
|
1185
|
+
grupos?: number[] | undefined | null;
|
|
1186
|
+
subgrupos?: number[] | undefined | null;
|
|
1187
|
+
exibeEmiteFiscal: boolean;
|
|
1188
|
+
exibeNaoEmiteFiscal: boolean;
|
|
1189
|
+
setorSubEstoqueId: number | undefined | null;
|
|
1190
|
+
cst: string | undefined | null;
|
|
1191
|
+
constructor();
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
declare class SuitesIntervencoesSetting extends SearchSetting {
|
|
1195
|
+
suites?: number[];
|
|
1196
|
+
operadores?: number[];
|
|
1197
|
+
camareiras?: number[];
|
|
1198
|
+
status?: number[];
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
declare class ExportFileService {
|
|
1202
|
+
empresaNomeFile?: string;
|
|
1203
|
+
constructor();
|
|
1204
|
+
start(empresaNomeFile: string): void;
|
|
1205
|
+
exportarExcel(r: any, fileName: string): void;
|
|
1206
|
+
printHtml(r: any): void;
|
|
1207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportFileService, never>;
|
|
1208
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExportFileService>;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
declare class AuthDataService {
|
|
1212
|
+
isLoggedIn: boolean;
|
|
1213
|
+
token: string;
|
|
1214
|
+
sensoresDef: SensoresDef;
|
|
1215
|
+
permissoes: Permissoes;
|
|
1216
|
+
empresaNome: string;
|
|
1217
|
+
empresaId: number;
|
|
1218
|
+
loginNome: string;
|
|
1219
|
+
userId: number;
|
|
1220
|
+
email: string;
|
|
1221
|
+
nome: string;
|
|
1222
|
+
usaEstoqueOnline: boolean;
|
|
1223
|
+
usaFinancasOnline: boolean;
|
|
1224
|
+
usuarios: IdLoginModel[];
|
|
1225
|
+
constructor();
|
|
1226
|
+
login(result: LoginResult): void;
|
|
1227
|
+
setOwnership(ownership: IOwnership): void;
|
|
1228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthDataService, never>;
|
|
1229
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthDataService>;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
declare class CommonWebService {
|
|
1233
|
+
private http;
|
|
1234
|
+
ROOT_URL: string;
|
|
1235
|
+
GERENCIAL_URL: string;
|
|
1236
|
+
FINANCAS_URL: string;
|
|
1237
|
+
FUNCIONARIO_BASE_URL: string;
|
|
1238
|
+
FUNCIONARIO_CARGO_BASE_URL: string;
|
|
1239
|
+
token: string;
|
|
1240
|
+
PRODUTO_BASE_URL: string;
|
|
1241
|
+
PRODUTO_INFORMACOES_ADICIONAIS_BASE_URL: string;
|
|
1242
|
+
PRODUTO_GRUPO_BASE_URL: string;
|
|
1243
|
+
PRODUTO_SUBGRUPO_BASE_URL: string;
|
|
1244
|
+
PRODUTO_CATEGORIA_CARDAPIO_BASE_URL: string;
|
|
1245
|
+
PRODUTO_VERIFICACAO_GRUPO_BASE_URL: string;
|
|
1246
|
+
ESTOQUE_URL: string;
|
|
1247
|
+
UPLOAD_CONTENT_BASE_URL: string;
|
|
1248
|
+
MEDIA_BASE_URL: string;
|
|
1249
|
+
MEDIA_PRODUTO_IMAGEM_URL: string;
|
|
1250
|
+
PRODUTO_COMPOSICAO_BASE_URL: string;
|
|
1251
|
+
FORNECEDOR_BASE_URL: string;
|
|
1252
|
+
CLIENTE_BASE_URL: string;
|
|
1253
|
+
OPERADOR_BASE_URL: string;
|
|
1254
|
+
SUITE_BASE_URL: string;
|
|
1255
|
+
static URL_PART_BUSCA: string;
|
|
1256
|
+
static URL_PART_NEXT_ID: string;
|
|
1257
|
+
static URL_PART_BUSCA_PAGINADA: string;
|
|
1258
|
+
setToken(token: string): void;
|
|
1259
|
+
start(rootUrl: string, uploadContentUrl: string): void;
|
|
1260
|
+
getFuncionarios(exibeInativo?: boolean): Observable<Funcionario[]>;
|
|
1261
|
+
getFuncionariosCargos(): Observable<FuncionarioCargo[]>;
|
|
1262
|
+
buscaFuncionario(setting: SearchSetting): Observable<Funcionario[]>;
|
|
1263
|
+
getNextIdFuncionario(): Observable<number>;
|
|
1264
|
+
getAllFuncionario(): Observable<Funcionario[]>;
|
|
1265
|
+
saveFuncionario(s: Funcionario): Observable<any>;
|
|
1266
|
+
addFuncionario(p: Funcionario): Observable<any>;
|
|
1267
|
+
deleteFuncionario(id: number): Observable<any>;
|
|
1268
|
+
getAllSetores(): Observable<SetorEstoque[]>;
|
|
1269
|
+
buscaCliente(setting: SearchSetting): Observable<Cliente[]>;
|
|
1270
|
+
getAllCliente(): Observable<Cliente[]>;
|
|
1271
|
+
saveCliente(s: Cliente): Observable<any>;
|
|
1272
|
+
addCliente(p: Cliente): Observable<any>;
|
|
1273
|
+
deleteCliente(id: number): Observable<any>;
|
|
1274
|
+
buscaFornecedor(setting: SearchSetting): Observable<Fornecedor[]>;
|
|
1275
|
+
getAllFornecedor(): Observable<Fornecedor[]>;
|
|
1276
|
+
saveFornecedor(s: Fornecedor): Observable<any>;
|
|
1277
|
+
addFornecedor(p: Fornecedor): Observable<any>;
|
|
1278
|
+
deleteFornecedor(id: number): Observable<any>;
|
|
1279
|
+
getOperadores(): Observable<Operador[]>;
|
|
1280
|
+
buscaOperador(setting: SearchSetting): Observable<Operador[]>;
|
|
1281
|
+
getNextIdOperador(): Observable<number>;
|
|
1282
|
+
saveOperador(s: Operador): Observable<any>;
|
|
1283
|
+
addOperador(p: Operador): Observable<any>;
|
|
1284
|
+
deleteOperador(id: number): Observable<any>;
|
|
1285
|
+
getSuites(): Observable<SuiteBase[]>;
|
|
1286
|
+
getHttpOptions(parameters?: HttpParams): {
|
|
1287
|
+
headers: HttpHeaders;
|
|
1288
|
+
params: HttpParams | undefined;
|
|
1289
|
+
};
|
|
1290
|
+
getExcelOptions(parameters?: HttpParams): {
|
|
1291
|
+
headers: HttpHeaders;
|
|
1292
|
+
params: HttpParams | undefined;
|
|
1293
|
+
responseType: "json";
|
|
1294
|
+
};
|
|
1295
|
+
getHtmlOptions(parameters?: HttpParams): {
|
|
1296
|
+
headers: HttpHeaders;
|
|
1297
|
+
params: HttpParams | undefined;
|
|
1298
|
+
responseType: "json";
|
|
1299
|
+
};
|
|
1300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonWebService, never>;
|
|
1301
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonWebService>;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
declare class NotificationService {
|
|
1305
|
+
snackBar: MatSnackBar;
|
|
1306
|
+
showHttpError(res: HttpErrorResponse): void;
|
|
1307
|
+
showMsg(msg: string, duration?: number): void;
|
|
1308
|
+
showMsgError(msg: string): void;
|
|
1309
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
1310
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
declare class Preferences {
|
|
1314
|
+
constructor();
|
|
1315
|
+
loadGroup(key: string, list: RadioButtonGroupData[], defaultValue: any): any;
|
|
1316
|
+
load<T>(key: string, defaultValue: T): T;
|
|
1317
|
+
saveGroup(key: string, data: RadioButtonGroupData): void;
|
|
1318
|
+
save<T>(key: string, obj: T): void;
|
|
1319
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Preferences, never>;
|
|
1320
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Preferences>;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
declare class ScreenHelperService {
|
|
1324
|
+
changedMobileScreen: EventEmitter<boolean>;
|
|
1325
|
+
changedMediumScreen: EventEmitter<boolean>;
|
|
1326
|
+
changedLargeScreen: EventEmitter<boolean>;
|
|
1327
|
+
changedXLargeScreen: EventEmitter<boolean>;
|
|
1328
|
+
changedXXLargeScreen: EventEmitter<boolean>;
|
|
1329
|
+
changedMinSmallScreen: EventEmitter<boolean>;
|
|
1330
|
+
changedMinMediumScreen: EventEmitter<boolean>;
|
|
1331
|
+
changedMinLargeScreen: EventEmitter<boolean>;
|
|
1332
|
+
changedMinXLargeScreen: EventEmitter<boolean>;
|
|
1333
|
+
changedMinXXLargeScreen: EventEmitter<boolean>;
|
|
1334
|
+
mobileScreen: boolean;
|
|
1335
|
+
isMedium: boolean;
|
|
1336
|
+
isLarge: boolean;
|
|
1337
|
+
isXLarge: boolean;
|
|
1338
|
+
isXXLarge: boolean;
|
|
1339
|
+
minSmall: boolean;
|
|
1340
|
+
minMedium: boolean;
|
|
1341
|
+
minLarge: boolean;
|
|
1342
|
+
minXLarge: boolean;
|
|
1343
|
+
minXXLarge: boolean;
|
|
1344
|
+
constructor();
|
|
1345
|
+
determinaMobileScreen(): void;
|
|
1346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenHelperService, never>;
|
|
1347
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenHelperService>;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
export { AlertDialogComponent, AuthDataService, BusyIndicatorComponent, BusyState, CheckButtonComponent, ClientesAddDialogComponent, ClientesComponent, ClientesEditDialogComponent, ClientesFormComponent, CommonWebService, ConsumoProdutoSearchSetting, DuplicataSearchSetting, ExportFileService, FocusService, FornecedoresAddDialogComponent, FornecedoresComponent, FornecedoresEditDialogComponent, FornecedoresFormComponent, FuncionarioAddDialogComponent, FuncionarioEditDialogComponent, FuncionarioFormComponent, FuncionariosComponent, ImageViewerComponent, ItemCardComponent, LazyTrigger, MonthYearPickerComponent, NavegacaoSelecaoDialogUtil, NotificationService, NumberParser, NumericPickerComponent, OcupacaoConducao, OcupacaoFilterSetting, OcupacaoSearchDateField, OcupacaoSearchSetting, OcupacaoSearchTipoEntrada, Ordem, Ownership, OxpiNglibModule, PagamentoRecebimentoSearchSetting, PaginatorComponent, PorOcupacaoTipo, Preferences, ProdutoSearchSetting, RadioButtonGroupComponent, SafeHtmlPipe, ScreenHelperService, SearchMode, SearchSetting, SelecaoClienteDialogComponent, SelecaoFornecedorDialogComponent, SelecaoListItemComponent, SuitesIntervencoesSetting, confirmaExclusao, convertToStringArquivo, fadeAnimation, formatCpfCnpj, formatDayMonthYear, geraNomeArquivo, isNotNullOrUndefined, isNullOrUndefined, menuLateralAnimation, printHtml, printTxt, selectText, setOwnershipLogin, valNumberEmpty, valNumberMin, valTextEmpty, valTextMax, validCpf, validaCnpj, validaFuncionario, validaOperador, validaPessoa, validaSetorEstoque };
|
|
1351
|
+
export type { AlertDialogArgs, Cliente, Fornecedor, Funcionario, FuncionarioCargo, IOwnership, IdDescricaoModel, IdLoginModel, IdNomeModel, ImageViewerInfo, LoginItem, LoginResult, MonthYear, Operador, OrdemInfo, PagingResult, PermissaoSubgrupoModel, Permissoes, PermissoesModulo, Pessoa, RadioButtonGroupData, SelecaoDialog, SensoresDef, SetorEstoque, SuiteBase, Tuple, Usuario, UsuarioPermissaoItem };
|