appproject-framework 1.0.1
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 +64 -0
- package/fesm2022/appproject-framework.mjs +5038 -0
- package/fesm2022/appproject-framework.mjs.map +1 -0
- package/package.json +24 -0
- package/types/appproject-framework.d.ts +1151 -0
|
@@ -0,0 +1,1151 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform, OnInit, OnDestroy, EventEmitter, InjectionToken, Renderer2, Predicate, ElementRef, Injector, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { FormGroup, ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
+
import { Observable, BehaviorSubject, Subscription, Subject } from 'rxjs';
|
|
6
|
+
import { HttpClient } from '@angular/common/http';
|
|
7
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
8
|
+
import { IonSelect } from '@ionic/angular/standalone';
|
|
9
|
+
|
|
10
|
+
declare class AppprojectFramework {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppprojectFramework, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppprojectFramework, "kb-appproject-framework", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare class LibService {
|
|
16
|
+
constructor();
|
|
17
|
+
static decimalToStringMil(number?: any): any;
|
|
18
|
+
static strToFloatZeroPontuacao(str: string | any): number;
|
|
19
|
+
static isEmpty(str: string | any): boolean;
|
|
20
|
+
static round(value: number, decimals: number): number;
|
|
21
|
+
static stringToDecimal(strVal: string, parse?: boolean): any;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LibService>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class PesquisaCampo {
|
|
27
|
+
campo: string;
|
|
28
|
+
label: string;
|
|
29
|
+
format?: boolean;
|
|
30
|
+
formatacao?: Function;
|
|
31
|
+
width?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class HtmlCampo {
|
|
35
|
+
/**
|
|
36
|
+
* Nome do campo que o controle faz binding formControlName
|
|
37
|
+
*/
|
|
38
|
+
Nome: string;
|
|
39
|
+
/**
|
|
40
|
+
* Tipo do controle da lib que deve ser desenhado. [input-text, input-select, input-pesquisa, input-area, input-checkbox, input-format, input-valor]
|
|
41
|
+
*/
|
|
42
|
+
Tipo: string;
|
|
43
|
+
/**
|
|
44
|
+
* Título do campo que será exibido
|
|
45
|
+
*/
|
|
46
|
+
Label?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Para input-select, array de objetos para a lista
|
|
49
|
+
*/
|
|
50
|
+
Itens?: any[];
|
|
51
|
+
/**
|
|
52
|
+
* Para input-select, campo de id do objeto da lista. ex: 'Id', 'UsuarioId'
|
|
53
|
+
*/
|
|
54
|
+
ItemId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Para input-select, campo que sera exibido no combo, ex: 'Nome', 'Descricao'
|
|
57
|
+
*/
|
|
58
|
+
ItemNome?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Tamanho digitável do campo, quantidade de caracteres
|
|
61
|
+
*/
|
|
62
|
+
Tamanho?: string;
|
|
63
|
+
ReadOnly: boolean;
|
|
64
|
+
PlaceHolderVisivel: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Placeholder do campo, se não informado será o mesmo do label
|
|
67
|
+
*/
|
|
68
|
+
PlaceHolder?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Para input-text ['text', 'date', 'number']
|
|
71
|
+
*/
|
|
72
|
+
TipoInput?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Linha sequencial da posição do controle
|
|
75
|
+
*/
|
|
76
|
+
Row?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Coluna sequencial da posição do controle, pode ter furo na sequência, será tratado como um espaço
|
|
79
|
+
*/
|
|
80
|
+
Col?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Tamanho da coluna. col-md
|
|
83
|
+
*/
|
|
84
|
+
Size?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Linhas do input-area
|
|
87
|
+
*/
|
|
88
|
+
Linhas?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Para componente de pesquisa
|
|
91
|
+
*/
|
|
92
|
+
UrlPesquisa?: string;
|
|
93
|
+
UrlItem?: string;
|
|
94
|
+
TipoPesquisa?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Campo que será focado após o carregamento do form
|
|
97
|
+
*/
|
|
98
|
+
focusField?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Deve obter o foco
|
|
101
|
+
*/
|
|
102
|
+
CampoFoco?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Mascara para o Input Format
|
|
105
|
+
*/
|
|
106
|
+
Formato?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Estilo do label do separador
|
|
109
|
+
*/
|
|
110
|
+
LabelStyle?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Estilo geral do campo
|
|
113
|
+
*/
|
|
114
|
+
CampoStyle?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Nome do icon para o botão
|
|
117
|
+
*/
|
|
118
|
+
Icon?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Caminho do icon ex: assets/icons/icon.svg
|
|
121
|
+
*/
|
|
122
|
+
IconSrc?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Cor do botão: primary, secondary, light, tertiary, danger, warning, success
|
|
125
|
+
*/
|
|
126
|
+
BtnColor?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Expansão do botão: full, block, inline
|
|
129
|
+
*/
|
|
130
|
+
BtnExpand?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Tamanho do button, small, large, default
|
|
133
|
+
*/
|
|
134
|
+
BtnSize?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Exibir o botão do lado do input-text
|
|
137
|
+
*/
|
|
138
|
+
InputAction?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Ícone do botão de action
|
|
141
|
+
*/
|
|
142
|
+
InputActionIcon?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Flag para esconder o campo em tela
|
|
145
|
+
*/
|
|
146
|
+
Hidden?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Declaração para tratemento de change, quando implementado no cliente será chamado.
|
|
149
|
+
* @param event Parâmetros emitidos com o change
|
|
150
|
+
*/
|
|
151
|
+
change?(event: any): void;
|
|
152
|
+
/**
|
|
153
|
+
* Declaração para tratamento de click do botão
|
|
154
|
+
* @param event
|
|
155
|
+
*/
|
|
156
|
+
click?(event: any): void;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare class HtmlRow {
|
|
160
|
+
Linha: HtmlCampo[];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
declare class BaseModel {
|
|
164
|
+
Id: number | null;
|
|
165
|
+
static CampoId: string;
|
|
166
|
+
static PesquisaCampos: PesquisaCampo[];
|
|
167
|
+
constructor();
|
|
168
|
+
getValidationMessages(): object;
|
|
169
|
+
getForm(): FormGroup;
|
|
170
|
+
getHtmlForm(): HtmlRow[];
|
|
171
|
+
static setCamposFormatados(obj: any): void;
|
|
172
|
+
static getCamposFormatados(obj: any): void;
|
|
173
|
+
setCamposFormatados(): void;
|
|
174
|
+
getCamposFormatados(): void;
|
|
175
|
+
getFromJson(obj: any): void;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
declare class PageResult {
|
|
179
|
+
pagina: number;
|
|
180
|
+
totalRec: number;
|
|
181
|
+
lista: any[];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare function required(erroMsg: string): {
|
|
185
|
+
(target: Function): void;
|
|
186
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
187
|
+
};
|
|
188
|
+
declare function getRequired(target: any, propertyKey: string): any;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @param props Objeto { size: number, message: string }
|
|
192
|
+
* @returns
|
|
193
|
+
*/
|
|
194
|
+
declare function minLength(props: any): {
|
|
195
|
+
(target: Function): void;
|
|
196
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
197
|
+
};
|
|
198
|
+
declare function getMinLength(target: any, propertyKey: string): any;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @param props Objeto { size: number, message: string }
|
|
202
|
+
* @returns
|
|
203
|
+
*/
|
|
204
|
+
declare function maxLength(props: any): {
|
|
205
|
+
(target: Function): void;
|
|
206
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
207
|
+
};
|
|
208
|
+
declare function getMaxLength(target: any, propertyKey: string): any;
|
|
209
|
+
declare function email(msg: string): {
|
|
210
|
+
(target: Function): void;
|
|
211
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
212
|
+
};
|
|
213
|
+
declare function getEmail(target: any, propertyKey: string): any;
|
|
214
|
+
declare function pattern(props: any): {
|
|
215
|
+
(target: Function): void;
|
|
216
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
217
|
+
};
|
|
218
|
+
declare function getPattern(target: any, propertyKey: string): any;
|
|
219
|
+
declare function ignore(): {
|
|
220
|
+
(target: Function): void;
|
|
221
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
222
|
+
};
|
|
223
|
+
declare function getIgnore(target: any, propertyKey: string): any;
|
|
224
|
+
declare function tipo(controle: string): {
|
|
225
|
+
(target: Function): void;
|
|
226
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
227
|
+
};
|
|
228
|
+
declare function getTipo(target: any, propertyKey: string): any;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @param posRowColSize Objeto { row: 1, col: 1, size: 6 }
|
|
232
|
+
* @returns
|
|
233
|
+
*/
|
|
234
|
+
declare function posicao(posRowColSize: any): {
|
|
235
|
+
(target: Function): void;
|
|
236
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
237
|
+
};
|
|
238
|
+
declare function getPosicao(target: any, propertyKey: string): any;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @param label Label do campo que vai mostrar no form
|
|
242
|
+
* @returns
|
|
243
|
+
*/
|
|
244
|
+
declare function label(label: string): {
|
|
245
|
+
(target: Function): void;
|
|
246
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
247
|
+
};
|
|
248
|
+
declare function getLabel(target: any, propertyKey: string): any;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @param props Objeto { valor: number, message?: string }
|
|
252
|
+
* @returns
|
|
253
|
+
*/
|
|
254
|
+
declare function min(props: any): {
|
|
255
|
+
(target: Function): void;
|
|
256
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
257
|
+
};
|
|
258
|
+
declare function getMin(target: any, propertyKey: string): any;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @param props Objeto { valor: number, message?: string }
|
|
262
|
+
* @returns
|
|
263
|
+
*/
|
|
264
|
+
declare function max(props: any): {
|
|
265
|
+
(target: Function): void;
|
|
266
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
267
|
+
};
|
|
268
|
+
declare function getMax(target: any, propertyKey: string): any;
|
|
269
|
+
declare function formatted(campo: string): {
|
|
270
|
+
(target: Function): void;
|
|
271
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
272
|
+
};
|
|
273
|
+
declare function getFormatted(target: any, propertyKey: string): any;
|
|
274
|
+
declare function readOnly(): {
|
|
275
|
+
(target: Function): void;
|
|
276
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
277
|
+
};
|
|
278
|
+
declare function getReadOnly(target: any, propertyKey: string): any;
|
|
279
|
+
declare function placeholder(placeholder: string): {
|
|
280
|
+
(target: Function): void;
|
|
281
|
+
(target: Object, propertyKey: string | symbol): void;
|
|
282
|
+
};
|
|
283
|
+
declare function getPlaceholder(target: any, propertyKey: string): any;
|
|
284
|
+
|
|
285
|
+
declare class NomePipe implements PipeTransform {
|
|
286
|
+
transform(value: string, ...args: unknown[]): unknown;
|
|
287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NomePipe, never>;
|
|
288
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NomePipe, "nome", true>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
declare class ValorFormatPipe implements PipeTransform {
|
|
292
|
+
transform(value: number, ...args: unknown[]): any;
|
|
293
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValorFormatPipe, never>;
|
|
294
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ValorFormatPipe, "valorFormat", true>;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
declare class SafeHtmlPipe implements PipeTransform {
|
|
298
|
+
private sanitized;
|
|
299
|
+
constructor(sanitized: DomSanitizer);
|
|
300
|
+
transform(value: string, ...args: unknown[]): unknown;
|
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
302
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
declare class Tree {
|
|
306
|
+
Id: number;
|
|
307
|
+
Pai: number | null;
|
|
308
|
+
Label: string;
|
|
309
|
+
Filhos: Tree[];
|
|
310
|
+
Expandido: boolean;
|
|
311
|
+
Clicable: boolean;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare class GridFiltroValor {
|
|
315
|
+
Selecionado?: boolean;
|
|
316
|
+
Valor?: any;
|
|
317
|
+
}
|
|
318
|
+
declare class GridColuna {
|
|
319
|
+
Campo: string;
|
|
320
|
+
Titulo: string;
|
|
321
|
+
Tamanho?: string;
|
|
322
|
+
Ordem?: boolean;
|
|
323
|
+
Filtrar?: boolean;
|
|
324
|
+
OrdemStatus?: 0 | 1 | -1;
|
|
325
|
+
Tipo?: 'data' | 'number' | 'boolean' | 'string';
|
|
326
|
+
Valores?: GridFiltroValor[];
|
|
327
|
+
FiltroOperador?: string;
|
|
328
|
+
FiltroValor?: string;
|
|
329
|
+
FiltroVisivel?: boolean;
|
|
330
|
+
Grupo?: boolean;
|
|
331
|
+
Pipe?: string;
|
|
332
|
+
PipeParams?: string;
|
|
333
|
+
Alinhamento?: string;
|
|
334
|
+
Default?: string;
|
|
335
|
+
RenderFunction?(item: any): string;
|
|
336
|
+
ClickFunction?(item: any): void;
|
|
337
|
+
}
|
|
338
|
+
declare class GridTabela {
|
|
339
|
+
Selecionar?: boolean;
|
|
340
|
+
Exportar?: boolean;
|
|
341
|
+
CampoSelecionar?: string;
|
|
342
|
+
Colunas: GridColuna[];
|
|
343
|
+
Excluir?: boolean;
|
|
344
|
+
static init(grid: GridTabela): void;
|
|
345
|
+
static valoresFiltro(grid: GridTabela, dataSet: any[]): void;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
declare class EventoCadastro {
|
|
349
|
+
Cadastro: string;
|
|
350
|
+
Id: number;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare class EventoFoco {
|
|
354
|
+
Campo: string;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
declare class Intervalo {
|
|
358
|
+
valor: number;
|
|
359
|
+
selecionado: boolean;
|
|
360
|
+
tipo: 'dia' | 'sem' | 'mes';
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
declare class Dominio {
|
|
364
|
+
Id: number;
|
|
365
|
+
Descricao: string;
|
|
366
|
+
IdStr?: string;
|
|
367
|
+
constructor(id: number, descricao: string, idStr?: string);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
interface EstadoLib {
|
|
371
|
+
EstadoId: number;
|
|
372
|
+
Sigla: string;
|
|
373
|
+
Nome: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
declare class UtilsGeralService {
|
|
377
|
+
constructor();
|
|
378
|
+
getMeses(): Dominio[];
|
|
379
|
+
resolveMes(mes: number): string;
|
|
380
|
+
getAnos(inicio: number, fim: number): Dominio[];
|
|
381
|
+
getEstados(): EstadoLib[];
|
|
382
|
+
isEmpty(str: string | null | undefined): boolean;
|
|
383
|
+
validarCNPJ(cnpj: string): boolean;
|
|
384
|
+
validarCPF(cpf: string): boolean;
|
|
385
|
+
validatePessoaJuridica(cnpj: string): (group: FormGroup) => {
|
|
386
|
+
[key: string]: any;
|
|
387
|
+
};
|
|
388
|
+
validatePessoaFisicaJuridica(tipo: string, cnpj: string, cpf: string, obrigatorio?: boolean): (group: FormGroup) => {
|
|
389
|
+
[key: string]: any;
|
|
390
|
+
};
|
|
391
|
+
validateSenhas(senha: string, senhaConfirma: string): (group: FormGroup) => {
|
|
392
|
+
[key: string]: any;
|
|
393
|
+
};
|
|
394
|
+
validateSenhasTamanho(senha: string, tamanho: number): (group: FormGroup) => {
|
|
395
|
+
[key: string]: any;
|
|
396
|
+
};
|
|
397
|
+
formataCampoValor(valor: string, Mascara: string, evento: any): string | null;
|
|
398
|
+
converterValorDecimalMil(campo: string, casas?: number): string;
|
|
399
|
+
converterValorDecimal(campo: string, casas?: number): string;
|
|
400
|
+
mascaraZeros(valor: string, mascara?: string): string;
|
|
401
|
+
converteCaracteresEspeciais(nome: string): string;
|
|
402
|
+
getBase64FromFile(file: File): Promise<unknown>;
|
|
403
|
+
getTextFromFile(file: File, charset?: string): Promise<unknown>;
|
|
404
|
+
stringOfChar(str: string, tam: number): string;
|
|
405
|
+
round(value: number, decimals: number): number;
|
|
406
|
+
decimalToStringAny(valor?: any, casas?: number): string;
|
|
407
|
+
decimalToStringMil(number?: any): any;
|
|
408
|
+
digitarNumero(event: any): boolean;
|
|
409
|
+
strToIntZero(str: any): number;
|
|
410
|
+
strToFloatZero(str: any): number;
|
|
411
|
+
stringToDecimal(strVal: string): any;
|
|
412
|
+
dateToStr(date: Date, separador?: string): string | null;
|
|
413
|
+
dateTimeToStr(date: Date, separador?: string): string | null;
|
|
414
|
+
inicioMesAnterior(mes: number, ano: number): Date;
|
|
415
|
+
getDataFromString(str: string, hrs?: string): Date | null;
|
|
416
|
+
setFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
|
|
417
|
+
getFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
|
|
418
|
+
converterDataFromDB(data: string): string;
|
|
419
|
+
converterHoraFromDB(data: string): string;
|
|
420
|
+
copy(origem: any, destino: any): void;
|
|
421
|
+
translateClassificacao(classificacao: string): "" | "Outras" | "Operacional" | "Fixa" | "Variável" | "Impostos" | "Conta Corrente" | "Transferências" | "Aplicação" | "Outros";
|
|
422
|
+
translateClassificacaoInverso(classificacao: string): "" | "A" | "C" | "O" | "U" | "I" | "S" | "F" | "V" | "T";
|
|
423
|
+
getImgComplemento(): string;
|
|
424
|
+
compareDatas(data: Date, comparaData?: Date): boolean;
|
|
425
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsGeralService, never>;
|
|
426
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsGeralService>;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
declare class UtilsService {
|
|
430
|
+
constructor();
|
|
431
|
+
setFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
|
|
432
|
+
getFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
|
|
433
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
434
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
interface IBaseEntity<T extends BaseModel> {
|
|
438
|
+
getEntidade(id: any): Observable<T>;
|
|
439
|
+
getLista(params: any[]): Observable<T[]>;
|
|
440
|
+
setEntidade(entidade: T): Observable<T>;
|
|
441
|
+
updateEntidade(entidade: T): Observable<T>;
|
|
442
|
+
deleteEntidade(id: any, entidade?: T): Observable<any>;
|
|
443
|
+
setInativarEntidade(id: any): Observable<T>;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
interface IBaseAlerts {
|
|
447
|
+
showLoading(msg: string, cancelable: boolean): Promise<any>;
|
|
448
|
+
showToast(msg: string): Promise<any>;
|
|
449
|
+
showAlert(msg: string, title?: string): Promise<any>;
|
|
450
|
+
showConfirm(titulo: string, msg: string, ok: string, cancel: string, okAction: any, cancelAction: any): Promise<any>;
|
|
451
|
+
showConfirmPromise(titulo: string, msg: string, ok: string, cancel: string): Promise<boolean>;
|
|
452
|
+
pesquisarModal(urlPesquisa: string, campos: any, callback: Function, listaPesquisa: any | null, funcaoPesquisa: Function | null): Promise<any>;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
interface LibConfig {
|
|
456
|
+
apiUrl: string;
|
|
457
|
+
production: boolean;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare class DataService {
|
|
461
|
+
private config;
|
|
462
|
+
private httpClient;
|
|
463
|
+
BASE_API: string;
|
|
464
|
+
constructor(config: LibConfig, httpClient: HttpClient);
|
|
465
|
+
/**
|
|
466
|
+
* Obter uma lista de objetos
|
|
467
|
+
* @param url Url parcial para fazer a requisição. ex /categoria
|
|
468
|
+
* @returns
|
|
469
|
+
*/
|
|
470
|
+
getLista<T>(url: string): Observable<T[]>;
|
|
471
|
+
/**
|
|
472
|
+
* Obter uma lista de objetos com paginação
|
|
473
|
+
* @param url Url parcial para fazer a requisição. ex. /categoria
|
|
474
|
+
* @param page Número da página
|
|
475
|
+
* @param offset Número de registros por página
|
|
476
|
+
* @param totalRec Total de registros
|
|
477
|
+
* @returns Array dos objetos encontrados
|
|
478
|
+
*/
|
|
479
|
+
getListaPage<T>(url: string, page: number, offset: number, totalRec: number): Observable<T>;
|
|
480
|
+
/**
|
|
481
|
+
* Fazer requisição do tipo POST para salvar novo registro
|
|
482
|
+
* Foi criado T e U porque tem caso que o tipo da request é diferente do tipo da response
|
|
483
|
+
* @param url Url parcial para fazer a requisição
|
|
484
|
+
* @param param Objeto para ser serializado
|
|
485
|
+
* @returns Ok, Objeto com id gerado
|
|
486
|
+
*/
|
|
487
|
+
postRequest<T, U>(url: string, param: U): Observable<T>;
|
|
488
|
+
/**
|
|
489
|
+
* Fazer requisição do tipo POST, esperando uma lista como response
|
|
490
|
+
* Foi criado T e U porque tem caso que o tipo da request é diferente do tipo da response
|
|
491
|
+
* @param url Url parcial para fazer a requisição
|
|
492
|
+
* @param param Objeto para ser serializado
|
|
493
|
+
* @returns Ok, Lista de objetos
|
|
494
|
+
*/
|
|
495
|
+
postListRequest<T, U>(url: string, param: U): Observable<T[]>;
|
|
496
|
+
/**
|
|
497
|
+
* Fazer requisição do tipo PUT para salvar um registro alterado
|
|
498
|
+
* Foi criado T e U porque tem caso que o tipo da request é diferente do tipo da response
|
|
499
|
+
* @param url Url parcial para fazer a requisição
|
|
500
|
+
* @param param Objeto para ser serializado
|
|
501
|
+
* @returns Ok, Objeto atualizado
|
|
502
|
+
*/
|
|
503
|
+
putRequest<T, U>(url: string, param: U): Observable<T>;
|
|
504
|
+
/**
|
|
505
|
+
* Fazer requisição do tipo GET para retornar uma lista de objetos
|
|
506
|
+
* @param url url parcial para fazer a requisição
|
|
507
|
+
* @returns Ok, lista encontrada
|
|
508
|
+
*/
|
|
509
|
+
getListRequest<T>(url: string): Observable<T[]>;
|
|
510
|
+
/**
|
|
511
|
+
* Fazer requisição do tipo GET para um objeto
|
|
512
|
+
* @param url url parcial para fazer a requisição
|
|
513
|
+
* @returns Ok, objeto encontrado
|
|
514
|
+
*/
|
|
515
|
+
getRequest<T>(url: string): Observable<T>;
|
|
516
|
+
/**
|
|
517
|
+
* Fazer requisição do tipo DELETE para excluir um registro permanentemente
|
|
518
|
+
* @param url url parcial para fazer a requisição
|
|
519
|
+
* @param param objeto opcional para geração de logs
|
|
520
|
+
* @returns Ok, Error com mensagem
|
|
521
|
+
*/
|
|
522
|
+
deleteRequest(url: string, param?: any): Observable<Object>;
|
|
523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
524
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
declare abstract class BasePage implements OnInit {
|
|
528
|
+
routerBase?: Router;
|
|
529
|
+
constructor(router?: Router);
|
|
530
|
+
ngOnInit(): void;
|
|
531
|
+
protected handlePromiseError(error: Response | any): Promise<any>;
|
|
532
|
+
protected handleObservableError(error: Response | any): Promise<string>;
|
|
533
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasePage, never>;
|
|
534
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasePage, "ng-component", never, {}, {}, never, never, true, never>;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
declare class CadastroService {
|
|
538
|
+
alteracaoFilho: BehaviorSubject<EventoCadastro>;
|
|
539
|
+
carregarRegistro: BehaviorSubject<EventoCadastro>;
|
|
540
|
+
novoMaster: BehaviorSubject<EventoCadastro>;
|
|
541
|
+
novoRegistro: BehaviorSubject<EventoCadastro>;
|
|
542
|
+
focoCampo: BehaviorSubject<EventoFoco>;
|
|
543
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CadastroService, never>;
|
|
544
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CadastroService>;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
declare class BaseCadastro<T extends BaseModel> extends BasePage implements OnInit, OnDestroy {
|
|
548
|
+
private type;
|
|
549
|
+
private activatedRouteI?;
|
|
550
|
+
routerBase?: Router;
|
|
551
|
+
protected alertsBase: IBaseAlerts;
|
|
552
|
+
activatedRouteBase?: ActivatedRoute;
|
|
553
|
+
entidade?: T;
|
|
554
|
+
entidadeForm: FormGroup<any>;
|
|
555
|
+
selectedEntidade: T | null;
|
|
556
|
+
validation_messages: any;
|
|
557
|
+
salvando: boolean;
|
|
558
|
+
cadastroServiceBase?: CadastroService;
|
|
559
|
+
novoAfterDelete: boolean;
|
|
560
|
+
entidadePosted: EventEmitter<T>;
|
|
561
|
+
creator: new () => T;
|
|
562
|
+
protected entidadeService: IBaseEntity<T>;
|
|
563
|
+
filtro?: string;
|
|
564
|
+
protected pesquisaUrl?: string;
|
|
565
|
+
protected pesquisaCampoId?: string;
|
|
566
|
+
protected pesquisaCampos?: PesquisaCampo[];
|
|
567
|
+
htmlForm: HtmlRow[];
|
|
568
|
+
temLista: boolean;
|
|
569
|
+
itensLista: T[];
|
|
570
|
+
masterId: number;
|
|
571
|
+
atualizarItensEvent: EventEmitter<any>;
|
|
572
|
+
atualizarItens: boolean;
|
|
573
|
+
novoMasterSubscriptioName: string;
|
|
574
|
+
novoMasterSubscribe: Subscription | null;
|
|
575
|
+
constructor(type: any, activatedRouteI?: ActivatedRoute | undefined, router?: Router, cadastroService?: CadastroService);
|
|
576
|
+
getHtmlForm(): void;
|
|
577
|
+
customFields(): void;
|
|
578
|
+
customValidators(): void;
|
|
579
|
+
/**
|
|
580
|
+
* Setar propiedades de lookup, pesquisa, pra não ficar amarrado ao model
|
|
581
|
+
*/
|
|
582
|
+
customHtmlProps(): void;
|
|
583
|
+
getHtmlField(campo: string): HtmlCampo | null;
|
|
584
|
+
customInitValues(): Promise<void>;
|
|
585
|
+
afterInitEmpresa(): void;
|
|
586
|
+
afterPreencherForm(): void;
|
|
587
|
+
afterCriarRegistro(): void;
|
|
588
|
+
afterAtualizarRegistro(): void;
|
|
589
|
+
afterDeleteRegistro(): void;
|
|
590
|
+
afterPesquisaEntidade(): void;
|
|
591
|
+
validarRegistro(): boolean;
|
|
592
|
+
ngOnInit(): void;
|
|
593
|
+
ngOnDestroy(): void;
|
|
594
|
+
inicializarLista(): void;
|
|
595
|
+
carregarItens(novo?: boolean): void;
|
|
596
|
+
selecionarItemLista(item: T): void;
|
|
597
|
+
deleteItemLista(item: T, mensagem: string): Promise<void>;
|
|
598
|
+
pesquisar(filtro?: string): Promise<void>;
|
|
599
|
+
preencherForm(): void;
|
|
600
|
+
getEntidade(id: number, afterPesquisa?: boolean): Promise<void>;
|
|
601
|
+
afterNovaEntidade(): void;
|
|
602
|
+
novaEntidade(): Promise<void>;
|
|
603
|
+
beforeSalvarEntidade(): void;
|
|
604
|
+
salvarEntidade(): Promise<void>;
|
|
605
|
+
beforeCriarRegistro(): void;
|
|
606
|
+
beforeAtualizarRegistro(): void;
|
|
607
|
+
criarRegistro(): Promise<void>;
|
|
608
|
+
atualizarRegistro(): Promise<void>;
|
|
609
|
+
deleteRegistro(mensagem?: string, entidade?: T): void;
|
|
610
|
+
inativarRegistro(campoInativado?: string): Promise<void>;
|
|
611
|
+
cancelar(novaEntidade?: boolean): void;
|
|
612
|
+
processarRouteParams(params: any): void;
|
|
613
|
+
afterRouteParams(): void;
|
|
614
|
+
setFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
|
|
615
|
+
getFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
|
|
616
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCadastro<any>, never>;
|
|
617
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseCadastro<any>, "ng-component", never, { "itensLista": { "alias": "itensLista"; "required": false; }; "masterId": { "alias": "masterId"; "required": false; }; }, { "entidadePosted": "entidadePosted"; "atualizarItensEvent": "atualizarItensEvent"; }, never, never, true, never>;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare const LibConfigService: InjectionToken<LibConfig>;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Classe base para componentes de input
|
|
624
|
+
*/
|
|
625
|
+
declare abstract class BaseInputComponent implements OnInit {
|
|
626
|
+
/** Label para exibição do campo */
|
|
627
|
+
label: string | undefined;
|
|
628
|
+
tabindex: number;
|
|
629
|
+
/** Posição do label default, fixed, stacked, floating */
|
|
630
|
+
labelPosition: 'default' | 'fixed' | 'stacked' | 'floating';
|
|
631
|
+
/** Nome da classe para usar na validação */
|
|
632
|
+
validationClass: string;
|
|
633
|
+
/** Tempo de resposta do input */
|
|
634
|
+
debounce: number;
|
|
635
|
+
/** Texto exibido como placeholder ou ajuda */
|
|
636
|
+
placeholder: string;
|
|
637
|
+
/** Referência ao form que contém o input (reactive forms) */
|
|
638
|
+
form: FormGroup;
|
|
639
|
+
/** Nome do campo do form (reactive forms) */
|
|
640
|
+
formControlName: string;
|
|
641
|
+
/** Tamanho máximo do input */
|
|
642
|
+
max: string;
|
|
643
|
+
/** Array com messages de validação para exibir em tela */
|
|
644
|
+
validation_messages: any[];
|
|
645
|
+
/** Tipo do input: text, date, number */
|
|
646
|
+
type: string;
|
|
647
|
+
/** Flag de somente leitura */
|
|
648
|
+
readonly: boolean;
|
|
649
|
+
/** Nome da classe do item container: padding, no-padding, no-padding-end, no-padding-start */
|
|
650
|
+
itemClass: string;
|
|
651
|
+
/** Evento blur */
|
|
652
|
+
blur: EventEmitter<any>;
|
|
653
|
+
/** Flag para exibir o botão de limpar campo */
|
|
654
|
+
botaoLimpar: boolean;
|
|
655
|
+
/** Cor default do label */
|
|
656
|
+
labelColor: string;
|
|
657
|
+
/** Cor default do background */
|
|
658
|
+
inputBackgroungColor: string;
|
|
659
|
+
/** Flag para sinalizar o campo como obrigatório na tela */
|
|
660
|
+
showObrigatorio: boolean;
|
|
661
|
+
/** Tamanho da fonte */
|
|
662
|
+
fontSize: string;
|
|
663
|
+
/** Ícone do input que vai exibir no início */
|
|
664
|
+
icon: string;
|
|
665
|
+
/** Src do arquivo ícone do input que vai exibir no início */
|
|
666
|
+
iconSrc: string;
|
|
667
|
+
/** Tipo de preenchimento outline = com borda; solid = cor solida */
|
|
668
|
+
fill: 'solid' | 'outline';
|
|
669
|
+
/** Modo do estilo: md, ios */
|
|
670
|
+
mode: 'md' | 'ios';
|
|
671
|
+
/** Flag para estilo clássico */
|
|
672
|
+
classic: boolean;
|
|
673
|
+
/** Flag de campo obrigatório */
|
|
674
|
+
Obrigatorio: boolean;
|
|
675
|
+
/** Argumentos para o evento blur */
|
|
676
|
+
blurArgs: any[];
|
|
677
|
+
/** Flag para exibir o botão de copiar valor */
|
|
678
|
+
showSeeCopy: boolean;
|
|
679
|
+
focusField: boolean;
|
|
680
|
+
campoFoco: string;
|
|
681
|
+
shape: string | undefined;
|
|
682
|
+
constructor();
|
|
683
|
+
ngOnInit(): void;
|
|
684
|
+
/** Determina se o campo tem a regra de validação required */
|
|
685
|
+
getObrigatorio(): void;
|
|
686
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseInputComponent, never>;
|
|
687
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseInputComponent, "ng-component", never, { "label": { "alias": "label"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "validationClass": { "alias": "validationClass"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "max": { "alias": "max"; "required": false; }; "validation_messages": { "alias": "validation_messages"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "botaoLimpar": { "alias": "botaoLimpar"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "inputBackgroungColor": { "alias": "inputBackgroungColor"; "required": false; }; "showObrigatorio": { "alias": "showObrigatorio"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "classic": { "alias": "classic"; "required": false; }; "blurArgs": { "alias": "blurArgs"; "required": false; }; "showSeeCopy": { "alias": "showSeeCopy"; "required": false; }; "focusField": { "alias": "focusField"; "required": false; }; "campoFoco": { "alias": "campoFoco"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, { "blur": "blur"; }, never, never, true, never>;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
declare class InputTextComponent extends BaseInputComponent implements OnInit, ControlValueAccessor, OnDestroy {
|
|
691
|
+
private renderer;
|
|
692
|
+
showSeePassword: boolean;
|
|
693
|
+
inputChange: EventEmitter<any>;
|
|
694
|
+
data: string;
|
|
695
|
+
private onChange;
|
|
696
|
+
private onTouch;
|
|
697
|
+
private disabled;
|
|
698
|
+
console: Console;
|
|
699
|
+
itemInput: any;
|
|
700
|
+
constructor(renderer: Renderer2);
|
|
701
|
+
ngOnInit(): void;
|
|
702
|
+
writeValue(value: string | any, type?: string): void;
|
|
703
|
+
registerOnChange(fn: any): void;
|
|
704
|
+
registerOnTouched(fn: any): void;
|
|
705
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
706
|
+
ngOnDestroy(): void;
|
|
707
|
+
onInputChange(event: any): void;
|
|
708
|
+
onBlur(): void;
|
|
709
|
+
entered(): void;
|
|
710
|
+
changeTypeOfInput(): void;
|
|
711
|
+
copiarClick(): void;
|
|
712
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
|
|
713
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "kb-input-text", never, { "showSeePassword": { "alias": "showSeePassword"; "required": false; }; }, { "inputChange": "inputChange"; }, never, never, true, never>;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
declare class InputPesquisaComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
717
|
+
private dataService;
|
|
718
|
+
private renderer;
|
|
719
|
+
private injector;
|
|
720
|
+
podePesquisar: boolean;
|
|
721
|
+
textoPesquisa: string;
|
|
722
|
+
private filtro;
|
|
723
|
+
selectElementVisivel: boolean;
|
|
724
|
+
listaPesquisa: any[];
|
|
725
|
+
selectedItem: any;
|
|
726
|
+
max: string;
|
|
727
|
+
private pesquisaSubject;
|
|
728
|
+
filterFunction: Predicate<any> | undefined;
|
|
729
|
+
selectId: string;
|
|
730
|
+
campoId: string;
|
|
731
|
+
campoPaiId: string;
|
|
732
|
+
campoDisplay: string;
|
|
733
|
+
tipo: string;
|
|
734
|
+
selectElement: IonSelect | undefined;
|
|
735
|
+
inputPesquisa: ElementRef | undefined;
|
|
736
|
+
pesquisaChange: EventEmitter<any>;
|
|
737
|
+
limpar: EventEmitter<any>;
|
|
738
|
+
url: string;
|
|
739
|
+
urlItem: string;
|
|
740
|
+
empresa: number;
|
|
741
|
+
loadInit: boolean;
|
|
742
|
+
urlTree: string;
|
|
743
|
+
treeTitulo: string;
|
|
744
|
+
data: number | null;
|
|
745
|
+
private onChange;
|
|
746
|
+
private onTouch;
|
|
747
|
+
private disabled;
|
|
748
|
+
console: Console;
|
|
749
|
+
modelChanged: Subject<any>;
|
|
750
|
+
modelChangeSubscription: Subscription;
|
|
751
|
+
writeValue(value: number | null): void;
|
|
752
|
+
registerOnChange(fn: any): void;
|
|
753
|
+
registerOnTouched(fn: any): void;
|
|
754
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
755
|
+
constructor(dataService: DataService, renderer: Renderer2, injector: Injector);
|
|
756
|
+
onBlur(event: any): void;
|
|
757
|
+
ngOnInit(): void;
|
|
758
|
+
writePesquisa(value: string | any): void;
|
|
759
|
+
showPesquisa(e: any): void;
|
|
760
|
+
highlight(texto: string): string;
|
|
761
|
+
selecionarComboClick(item: any, emitChange?: boolean): void;
|
|
762
|
+
selecionarComboChange(e: any): void;
|
|
763
|
+
dropDownPesquisa(length: number): void;
|
|
764
|
+
pesquisarEntidade(filtro: string): void;
|
|
765
|
+
pesquisarEntidadeOld(filtro: string): void;
|
|
766
|
+
existeNaLista(id: number, setRegistro?: boolean): boolean;
|
|
767
|
+
existeNaListaTexto(texto: string, setRegistro?: boolean): boolean;
|
|
768
|
+
validarItemSelecionado(setarRegistro?: boolean): boolean;
|
|
769
|
+
carregaItemIdParaLista(id: number, emitchange?: boolean): void;
|
|
770
|
+
carregaItemParaLista(item: any): void;
|
|
771
|
+
limparClick(): void;
|
|
772
|
+
verificarPesquisa(): void;
|
|
773
|
+
pesquisarClick(): Promise<void>;
|
|
774
|
+
setFocus(): void;
|
|
775
|
+
copiarClick(): void;
|
|
776
|
+
entered(): void;
|
|
777
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPesquisaComponent, never>;
|
|
778
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputPesquisaComponent, "kb-input-pesquisa", never, { "textoPesquisa": { "alias": "textoPesquisa"; "required": false; }; "max": { "alias": "max"; "required": false; }; "filterFunction": { "alias": "filterFunction"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "campoId": { "alias": "campoId"; "required": false; }; "campoPaiId": { "alias": "campoPaiId"; "required": false; }; "campoDisplay": { "alias": "campoDisplay"; "required": false; }; "tipo": { "alias": "tipo"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlItem": { "alias": "urlItem"; "required": false; }; "empresa": { "alias": "empresa"; "required": false; }; "loadInit": { "alias": "loadInit"; "required": false; }; "urlTree": { "alias": "urlTree"; "required": false; }; "treeTitulo": { "alias": "treeTitulo"; "required": false; }; }, { "pesquisaChange": "pesquisaChange"; "limpar": "limpar"; }, never, never, true, never>;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
declare class InputAreaComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
782
|
+
private renderer;
|
|
783
|
+
linhas: number;
|
|
784
|
+
contador: boolean;
|
|
785
|
+
inputChange: EventEmitter<any>;
|
|
786
|
+
itemArea: any;
|
|
787
|
+
data: string | any;
|
|
788
|
+
private onChange;
|
|
789
|
+
private onTouch;
|
|
790
|
+
private disabled;
|
|
791
|
+
console: Console;
|
|
792
|
+
writeValue(value: string | any): void;
|
|
793
|
+
registerOnChange(fn: any): void;
|
|
794
|
+
registerOnTouched(fn: any): void;
|
|
795
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
796
|
+
constructor(renderer: Renderer2);
|
|
797
|
+
ngOnInit(): void;
|
|
798
|
+
onInputChange(event: any): void;
|
|
799
|
+
onBlur(): void;
|
|
800
|
+
entered(): void;
|
|
801
|
+
copiarClick(): void;
|
|
802
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputAreaComponent, never>;
|
|
803
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputAreaComponent, "kb-input-area", never, { "linhas": { "alias": "linhas"; "required": false; }; "contador": { "alias": "contador"; "required": false; }; }, { "inputChange": "inputChange"; }, never, never, true, never>;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
declare class InputCepComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
807
|
+
formato: string | null;
|
|
808
|
+
keyEnter: Function | null;
|
|
809
|
+
getResultados: EventEmitter<any>;
|
|
810
|
+
inputChange: EventEmitter<any>;
|
|
811
|
+
data: string | any;
|
|
812
|
+
private onChange;
|
|
813
|
+
private onTouch;
|
|
814
|
+
private disabled;
|
|
815
|
+
constructor();
|
|
816
|
+
writeValue(value: string | any): void;
|
|
817
|
+
registerOnChange(fn: any): void;
|
|
818
|
+
registerOnTouched(fn: any): void;
|
|
819
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
820
|
+
ngOnInit(): void;
|
|
821
|
+
onInputChange(event: any): void;
|
|
822
|
+
digitarFormatado(event: any): boolean;
|
|
823
|
+
onKeyEnter(): void;
|
|
824
|
+
onBlur(): void;
|
|
825
|
+
formataCampoValor(valor: string, Mascara: string, evento: any): string | null;
|
|
826
|
+
pesquisarClick(): void;
|
|
827
|
+
converteCaracteresEspeciais(nome: string): string;
|
|
828
|
+
getEnderecoPeloCep(cep: any): Observable<any>;
|
|
829
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputCepComponent, never>;
|
|
830
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputCepComponent, "kb-input-cep", never, { "formato": { "alias": "formato"; "required": false; }; "keyEnter": { "alias": "keyEnter"; "required": false; }; }, { "getResultados": "getResultados"; "inputChange": "inputChange"; }, never, never, true, never>;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
declare class InputValorComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
834
|
+
maxValor: number | null;
|
|
835
|
+
inputChange: EventEmitter<any>;
|
|
836
|
+
inputValorEdit: any;
|
|
837
|
+
data: string | any;
|
|
838
|
+
private onChange;
|
|
839
|
+
private onTouch;
|
|
840
|
+
private disabled;
|
|
841
|
+
console: Console;
|
|
842
|
+
writeValue(value: string | any): void;
|
|
843
|
+
registerOnChange(fn: any): void;
|
|
844
|
+
registerOnTouched(fn: any): void;
|
|
845
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
846
|
+
constructor();
|
|
847
|
+
ngOnInit(): void;
|
|
848
|
+
onBlur(): void;
|
|
849
|
+
onInputChange(event: any): void;
|
|
850
|
+
digitarValor(event: any): boolean;
|
|
851
|
+
copiarClick(): void;
|
|
852
|
+
isEmpty(str: string | any): boolean;
|
|
853
|
+
converterValorDecimalMil(campo: string, casas?: number): string;
|
|
854
|
+
decimalToStringMil(number?: any): any;
|
|
855
|
+
stringOfChar(str: string, tam: number): string;
|
|
856
|
+
strToFloatZero(str: any): number;
|
|
857
|
+
setFocus(): void;
|
|
858
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputValorComponent, never>;
|
|
859
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputValorComponent, "kb-input-valor", never, { "maxValor": { "alias": "maxValor"; "required": false; }; }, { "inputChange": "inputChange"; }, never, never, true, never>;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
declare class InputCheckboxComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
863
|
+
justify: string;
|
|
864
|
+
labelPlacement: string;
|
|
865
|
+
data: boolean | undefined;
|
|
866
|
+
private onChange;
|
|
867
|
+
private onTouch;
|
|
868
|
+
private disabled;
|
|
869
|
+
console: Console;
|
|
870
|
+
writeValue(value?: any): void;
|
|
871
|
+
registerOnChange(fn: any): void;
|
|
872
|
+
registerOnTouched(fn: any): void;
|
|
873
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
874
|
+
constructor();
|
|
875
|
+
ngOnInit(): void;
|
|
876
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputCheckboxComponent, never>;
|
|
877
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputCheckboxComponent, "kb-input-checkbox", never, { "justify": { "alias": "justify"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; }, {}, never, never, true, never>;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
declare class InputFormatComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
881
|
+
formato: string | null;
|
|
882
|
+
keyEnter: EventEmitter<any>;
|
|
883
|
+
inputChange: EventEmitter<any>;
|
|
884
|
+
inputFormatEdit: any;
|
|
885
|
+
data: string | any;
|
|
886
|
+
private onChange;
|
|
887
|
+
private onTouch;
|
|
888
|
+
private disabled;
|
|
889
|
+
console: Console;
|
|
890
|
+
writeValue(value: string | any): void;
|
|
891
|
+
registerOnChange(fn: any): void;
|
|
892
|
+
registerOnTouched(fn: any): void;
|
|
893
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
894
|
+
constructor();
|
|
895
|
+
ngOnInit(): void;
|
|
896
|
+
digitarFormatado(event: any): boolean;
|
|
897
|
+
onInputChange(event: any): void;
|
|
898
|
+
onKeyEnter(): void;
|
|
899
|
+
onBlur(): void;
|
|
900
|
+
setFocus(): void;
|
|
901
|
+
formataCampoValor(valor: string, Mascara: string, evento: any): string | null;
|
|
902
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputFormatComponent, never>;
|
|
903
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputFormatComponent, "kb-input-format", never, { "formato": { "alias": "formato"; "required": false; }; "keyEnter": { "alias": "keyEnter"; "required": false; }; }, { "inputChange": "inputChange"; }, never, never, true, never>;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
declare class InputSelectComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
907
|
+
private renderer;
|
|
908
|
+
selectChange: EventEmitter<any>;
|
|
909
|
+
selectChangeEntity: EventEmitter<any>;
|
|
910
|
+
itens: any[];
|
|
911
|
+
itemId: string;
|
|
912
|
+
itemNome: string;
|
|
913
|
+
showNovo: boolean;
|
|
914
|
+
itemNull: boolean;
|
|
915
|
+
opcaoDefault: string;
|
|
916
|
+
interface: 'action-sheet' | 'popover' | 'alert';
|
|
917
|
+
itemSelect: any;
|
|
918
|
+
inputSelect: any;
|
|
919
|
+
data: string;
|
|
920
|
+
private onChange;
|
|
921
|
+
private onTouch;
|
|
922
|
+
private disabled;
|
|
923
|
+
writeValue(value: string | any | null): void;
|
|
924
|
+
registerOnChange(fn: any): void;
|
|
925
|
+
registerOnTouched(fn: any): void;
|
|
926
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
927
|
+
constructor(renderer: Renderer2);
|
|
928
|
+
ngOnInit(): void;
|
|
929
|
+
onSelectChange(value: any): void;
|
|
930
|
+
onBlur(): void;
|
|
931
|
+
entered(): void;
|
|
932
|
+
copiarClick(): void;
|
|
933
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
|
|
934
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "kb-input-select", never, { "itens": { "alias": "itens"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "itemNome": { "alias": "itemNome"; "required": false; }; "showNovo": { "alias": "showNovo"; "required": false; }; "itemNull": { "alias": "itemNull"; "required": false; }; "opcaoDefault": { "alias": "opcaoDefault"; "required": false; }; "interface": { "alias": "interface"; "required": false; }; }, { "selectChange": "selectChange"; "selectChangeEntity": "selectChangeEntity"; }, never, never, true, never>;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
declare class InputRadioComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
|
|
938
|
+
/**
|
|
939
|
+
* Array de objetos { itemId, itemNome }
|
|
940
|
+
*/
|
|
941
|
+
itens: any[];
|
|
942
|
+
itemId: string;
|
|
943
|
+
itemNome: string;
|
|
944
|
+
color: string;
|
|
945
|
+
data: string | undefined;
|
|
946
|
+
private onChange;
|
|
947
|
+
private onTouch;
|
|
948
|
+
private disabled;
|
|
949
|
+
console: Console;
|
|
950
|
+
writeValue(value?: any): void;
|
|
951
|
+
registerOnChange(fn: any): void;
|
|
952
|
+
registerOnTouched(fn: any): void;
|
|
953
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
954
|
+
constructor();
|
|
955
|
+
ngOnInit(): void;
|
|
956
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioComponent, never>;
|
|
957
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputRadioComponent, "kb-input-radio", never, { "itens": { "alias": "itens"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "itemNome": { "alias": "itemNome"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
declare class EntityEditComponent<T extends BaseModel> implements OnInit {
|
|
961
|
+
entidade: T | null;
|
|
962
|
+
/**
|
|
963
|
+
* Vai receber montado do base cadastro
|
|
964
|
+
*/
|
|
965
|
+
campos: HtmlRow[];
|
|
966
|
+
entidadeForm: FormGroup;
|
|
967
|
+
validation_messages: any;
|
|
968
|
+
itemClass: string;
|
|
969
|
+
rowClass: string;
|
|
970
|
+
showObrigatorio: boolean;
|
|
971
|
+
ngOnInit(): void;
|
|
972
|
+
emptyHandler(): void;
|
|
973
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityEditComponent<any>, never>;
|
|
974
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityEditComponent<any>, "kb-entidade-edit", never, { "entidade": { "alias": "entidade"; "required": false; }; "campos": { "alias": "campos"; "required": false; }; "entidadeForm": { "alias": "entidadeForm"; "required": false; }; "validation_messages": { "alias": "validation_messages"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "showObrigatorio": { "alias": "showObrigatorio"; "required": false; }; }, {}, never, never, true, never>;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
declare class GridViewComponent implements OnInit, OnChanges {
|
|
978
|
+
tabelaCampos: GridTabela;
|
|
979
|
+
dataSet: any[];
|
|
980
|
+
minHeight: string;
|
|
981
|
+
maxHeight: string;
|
|
982
|
+
inMemoryPagination: boolean;
|
|
983
|
+
apiPagination: boolean;
|
|
984
|
+
filteredDataSet: any[];
|
|
985
|
+
selecionarItem: EventEmitter<any>;
|
|
986
|
+
excluirItem: EventEmitter<any>;
|
|
987
|
+
selecionarChecked: EventEmitter<any>;
|
|
988
|
+
selectedItem: any;
|
|
989
|
+
grupos: any[];
|
|
990
|
+
groups: string[];
|
|
991
|
+
pageDataSet: any[];
|
|
992
|
+
camposDisplay: any[];
|
|
993
|
+
isFiltroOpen: boolean;
|
|
994
|
+
selectedColuna: any;
|
|
995
|
+
todosSelecionados: boolean;
|
|
996
|
+
page: number;
|
|
997
|
+
pageOffset: number;
|
|
998
|
+
apiTotalRecords: number;
|
|
999
|
+
apiPage: number;
|
|
1000
|
+
apiPagesTotal: number;
|
|
1001
|
+
apiProximoEvent: EventEmitter<any>;
|
|
1002
|
+
apiAnteriorEvent: EventEmitter<any>;
|
|
1003
|
+
totalRec: number;
|
|
1004
|
+
totalPages: number;
|
|
1005
|
+
pages: number[];
|
|
1006
|
+
start: number;
|
|
1007
|
+
constructor();
|
|
1008
|
+
valoresFiltro(): void;
|
|
1009
|
+
ngOnInit(): void;
|
|
1010
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1011
|
+
initPage(): void;
|
|
1012
|
+
getRegistrosPage(): void;
|
|
1013
|
+
proximo(): void;
|
|
1014
|
+
anterior(): void;
|
|
1015
|
+
proximoApi(proximo: boolean, page?: number): void;
|
|
1016
|
+
gerarArrayPags(): void;
|
|
1017
|
+
inicializaGrupo(): void;
|
|
1018
|
+
agrupar(campo: string): void;
|
|
1019
|
+
filtrarCampos(coluna?: string): void;
|
|
1020
|
+
filtrar(col: GridColuna): void;
|
|
1021
|
+
getPage(): void;
|
|
1022
|
+
limpar(col: GridColuna): void;
|
|
1023
|
+
dataToString(data: string): string;
|
|
1024
|
+
ordenar(col: GridColuna): void;
|
|
1025
|
+
setFiltroOpen(col: any): void;
|
|
1026
|
+
selecionarTodos(): void;
|
|
1027
|
+
selecionarLinha(item: any): void;
|
|
1028
|
+
excluirLinha(item: any): void;
|
|
1029
|
+
selecionadoChecked(): void;
|
|
1030
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridViewComponent, never>;
|
|
1031
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridViewComponent, "kb-grid-view", never, { "tabelaCampos": { "alias": "tabelaCampos"; "required": false; }; "dataSet": { "alias": "dataSet"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "inMemoryPagination": { "alias": "inMemoryPagination"; "required": false; }; "apiPagination": { "alias": "apiPagination"; "required": false; }; "filteredDataSet": { "alias": "filteredDataSet"; "required": false; }; "pageOffset": { "alias": "pageOffset"; "required": false; }; "apiTotalRecords": { "alias": "apiTotalRecords"; "required": false; }; "apiPage": { "alias": "apiPage"; "required": false; }; "apiPagesTotal": { "alias": "apiPagesTotal"; "required": false; }; }, { "selecionarItem": "selecionarItem"; "excluirItem": "excluirItem"; "selecionarChecked": "selecionarChecked"; "apiProximoEvent": "apiProximoEvent"; "apiAnteriorEvent": "apiAnteriorEvent"; }, never, never, true, never>;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
declare class PeriodoIntervaloComponent implements OnInit {
|
|
1035
|
+
aceitarFunction: EventEmitter<any>;
|
|
1036
|
+
btnHeight: string;
|
|
1037
|
+
visible: boolean;
|
|
1038
|
+
intervaloValor: number;
|
|
1039
|
+
intervaloTipo: string;
|
|
1040
|
+
dias: Intervalo[];
|
|
1041
|
+
semanas: Intervalo[];
|
|
1042
|
+
meses: Intervalo[];
|
|
1043
|
+
selecionado: Intervalo | undefined;
|
|
1044
|
+
constructor();
|
|
1045
|
+
ngOnInit(): void;
|
|
1046
|
+
selecionar(intervalo: Intervalo): void;
|
|
1047
|
+
setValor(value: any): void;
|
|
1048
|
+
setTipo(value: string): void;
|
|
1049
|
+
aceitar(): void;
|
|
1050
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeriodoIntervaloComponent, never>;
|
|
1051
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeriodoIntervaloComponent, "kb-periodo-intervalo", never, { "btnHeight": { "alias": "btnHeight"; "required": false; }; }, { "aceitarFunction": "aceitarFunction"; }, never, never, true, never>;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
declare abstract class BaseBtnComponent implements OnInit {
|
|
1055
|
+
disabled: boolean;
|
|
1056
|
+
type: string;
|
|
1057
|
+
icon: string;
|
|
1058
|
+
iconSrc: string;
|
|
1059
|
+
title: string;
|
|
1060
|
+
fill: string;
|
|
1061
|
+
expand: string;
|
|
1062
|
+
btnClick: EventEmitter<any>;
|
|
1063
|
+
size: string;
|
|
1064
|
+
iconSlot: string;
|
|
1065
|
+
color: string;
|
|
1066
|
+
ngOnInit(): void;
|
|
1067
|
+
onClick(): void;
|
|
1068
|
+
resolveTheme(theme: string): void;
|
|
1069
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseBtnComponent, never>;
|
|
1070
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseBtnComponent, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "title": { "alias": "title"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconSlot": { "alias": "iconSlot"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "btnClick": "btnClick"; }, never, never, true, never>;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
declare class BtnActionComponent extends BaseBtnComponent implements OnInit {
|
|
1074
|
+
title: string;
|
|
1075
|
+
color: string;
|
|
1076
|
+
hidden: boolean;
|
|
1077
|
+
icon: string;
|
|
1078
|
+
iconSrc: string;
|
|
1079
|
+
imgSrc: string;
|
|
1080
|
+
boxColor: string;
|
|
1081
|
+
btnMargin: string;
|
|
1082
|
+
expand: string;
|
|
1083
|
+
iconStyle: string;
|
|
1084
|
+
titleStyle: string;
|
|
1085
|
+
buttonStyle: string;
|
|
1086
|
+
constructor();
|
|
1087
|
+
ngOnInit(): void;
|
|
1088
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnActionComponent, never>;
|
|
1089
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnActionComponent, "kb-btn-action", never, { "title": { "alias": "title"; "required": false; }; "color": { "alias": "color"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "boxColor": { "alias": "boxColor"; "required": false; }; "btnMargin": { "alias": "btnMargin"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "iconStyle": { "alias": "iconStyle"; "required": false; }; "titleStyle": { "alias": "titleStyle"; "required": false; }; }, {}, never, never, true, never>;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
declare class BtnCancelarComponent extends BaseBtnComponent implements OnInit {
|
|
1093
|
+
icon: string;
|
|
1094
|
+
title: string;
|
|
1095
|
+
color: string;
|
|
1096
|
+
constructor();
|
|
1097
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnCancelarComponent, never>;
|
|
1098
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnCancelarComponent, "kb-btn-cancelar", never, { "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
declare class BtnExcluirComponent extends BaseBtnComponent implements OnInit {
|
|
1102
|
+
type: string;
|
|
1103
|
+
expand: string;
|
|
1104
|
+
icon: string;
|
|
1105
|
+
title: string;
|
|
1106
|
+
color: string;
|
|
1107
|
+
constructor();
|
|
1108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnExcluirComponent, never>;
|
|
1109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnExcluirComponent, "kb-btn-excluir", never, { "type": { "alias": "type"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
declare class BtnNovoComponent extends BaseBtnComponent implements OnInit {
|
|
1113
|
+
title: string;
|
|
1114
|
+
icon: string;
|
|
1115
|
+
iconSrc: string;
|
|
1116
|
+
expand: string;
|
|
1117
|
+
imgSrc: string;
|
|
1118
|
+
color: string;
|
|
1119
|
+
constructor();
|
|
1120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnNovoComponent, never>;
|
|
1121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnNovoComponent, "kb-btn-novo", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
declare class BtnSalvarComponent extends BaseBtnComponent implements OnInit {
|
|
1125
|
+
btnMargin: string;
|
|
1126
|
+
color: string;
|
|
1127
|
+
constructor();
|
|
1128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnSalvarComponent, never>;
|
|
1129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnSalvarComponent, "kb-btn-salvar", never, { "btnMargin": { "alias": "btnMargin"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
declare class BtnRoundedComponent extends BaseBtnComponent implements OnInit {
|
|
1133
|
+
title: string;
|
|
1134
|
+
icon: string;
|
|
1135
|
+
iconSrc: string;
|
|
1136
|
+
expand: string;
|
|
1137
|
+
imgSrc: string;
|
|
1138
|
+
color: string;
|
|
1139
|
+
fill: string;
|
|
1140
|
+
constructor();
|
|
1141
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnRoundedComponent, never>;
|
|
1142
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnRoundedComponent, "kb-btn-rounded", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "color": { "alias": "color"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; }, {}, never, never, true, never>;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
declare class TituloComponent {
|
|
1146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TituloComponent, never>;
|
|
1147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TituloComponent, "kb-titulo", never, {}, {}, never, ["*"], true, never>;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
export { AppprojectFramework, BaseCadastro, BaseInputComponent, BaseModel, BasePage, BtnActionComponent, BtnCancelarComponent, BtnExcluirComponent, BtnNovoComponent, BtnRoundedComponent, BtnSalvarComponent, CadastroService, DataService, Dominio, EntityEditComponent, EventoCadastro, EventoFoco, GridColuna, GridFiltroValor, GridTabela, GridViewComponent, HtmlCampo, HtmlRow, InputAreaComponent, InputCepComponent, InputCheckboxComponent, InputFormatComponent, InputPesquisaComponent, InputRadioComponent, InputSelectComponent, InputTextComponent, InputValorComponent, Intervalo, LibConfigService, LibService, NomePipe, PageResult, PeriodoIntervaloComponent, PesquisaCampo, SafeHtmlPipe, TituloComponent, Tree, UtilsGeralService, UtilsService, ValorFormatPipe, email, formatted, getEmail, getFormatted, getIgnore, getLabel, getMax, getMaxLength, getMin, getMinLength, getPattern, getPlaceholder, getPosicao, getReadOnly, getRequired, getTipo, ignore, label, max, maxLength, min, minLength, pattern, placeholder, posicao, readOnly, required, tipo };
|
|
1151
|
+
export type { EstadoLib, IBaseAlerts, IBaseEntity, LibConfig };
|