keevo-components 1.7.4 → 1.7.5
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 +24 -24
- package/esm2022/keevo-components.mjs +4 -4
- package/esm2022/lib/api/base-components/base-component-button.mjs +36 -36
- package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -92
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +282 -282
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +74 -74
- package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -65
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -31
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +161 -161
- package/esm2022/lib/api/base-components/base-component-input.mjs +94 -94
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -130
- package/esm2022/lib/api/base-components/base-component.mjs +49 -49
- package/esm2022/lib/api/components/chart/chart.config.mjs +2 -2
- package/esm2022/lib/api/components/chart/chart.model.mjs +2 -2
- package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -2
- package/esm2022/lib/api/components/chart/orchart.item.mjs +2 -2
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -2
- package/esm2022/lib/api/components/error/error.component.mjs +26 -26
- package/esm2022/lib/api/components/error/kverror.module.mjs +35 -35
- package/esm2022/lib/api/components/table/action-item.mjs +2 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +3 -3
- package/esm2022/lib/api/components/table/table.config.column.mjs +2 -2
- package/esm2022/lib/api/components/table/table.config.mjs +2 -2
- package/esm2022/lib/api/components/table/table.paginate.mjs +9 -9
- package/esm2022/lib/api/helpers/component-providers.mjs +16 -16
- package/esm2022/lib/api/helpers/keevo-validators.mjs +64 -64
- package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -23
- package/esm2022/lib/api/models/menu/menu.model.mjs +2 -2
- package/esm2022/lib/api/models/menu/menucompleto.model.mjs +2 -2
- package/esm2022/lib/api/models/menu/sistemamenu.model.mjs +2 -2
- package/esm2022/lib/api/modules/primeng.module.mjs +251 -251
- package/esm2022/lib/api/services/base.api.service.mjs +74 -74
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -57
- package/esm2022/lib/api/services/component.service.mjs +27 -27
- package/esm2022/lib/api/services/form.service.mjs +84 -84
- package/esm2022/lib/api/services/imagens.service.mjs +28 -28
- package/esm2022/lib/api/services/notification.service.mjs +67 -67
- package/esm2022/lib/api/services/object.service.mjs +26 -26
- package/esm2022/lib/avatar/avatar.component.mjs +64 -64
- package/esm2022/lib/avatar/kv-avatar.module.mjs +24 -24
- package/esm2022/lib/buttons/button-personalize/button-personalize.component.mjs +17 -17
- package/esm2022/lib/buttons/button-popup/button-popup.component.mjs +31 -31
- package/esm2022/lib/buttons/button-secondary/button-secondary.component.mjs +17 -17
- package/esm2022/lib/buttons/button-success/button-success.component.mjs +17 -17
- package/esm2022/lib/buttons/kvbutton.module.mjs +39 -39
- package/esm2022/lib/chart/chart.component.mjs +145 -145
- package/esm2022/lib/chart/kvchart.module.mjs +32 -32
- package/esm2022/lib/directives/template.directive.mjs +24 -24
- package/esm2022/lib/inputs/check/check.component.mjs +26 -26
- package/esm2022/lib/inputs/dropdown/dropdown.component.mjs +37 -37
- package/esm2022/lib/inputs/editor/editor.component.mjs +88 -88
- package/esm2022/lib/inputs/input-calendar/input-calendar.component.mjs +89 -89
- package/esm2022/lib/inputs/input-mask/input-mask.component.mjs +29 -29
- package/esm2022/lib/inputs/input-number/input-number.component.mjs +59 -59
- package/esm2022/lib/inputs/input-password/input-password.component.mjs +33 -33
- package/esm2022/lib/inputs/input-text/input-text.component.mjs +21 -21
- package/esm2022/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +41 -41
- package/esm2022/lib/inputs/input-textarea/input-textarea.component.mjs +43 -43
- package/esm2022/lib/inputs/input-time/input-time.component.mjs +24 -24
- package/esm2022/lib/inputs/kvinputs.module.mjs +108 -108
- package/esm2022/lib/inputs/multi-select/multi-select.component.mjs +41 -41
- package/esm2022/lib/inputs/radio-group/radio-group.component.mjs +53 -53
- package/esm2022/lib/inputs/switch/switch.component.mjs +32 -32
- package/esm2022/lib/keevo-components.module.mjs +112 -112
- package/esm2022/lib/label/label.component.mjs +14 -14
- package/esm2022/lib/label/label.module.mjs +23 -23
- package/esm2022/lib/loader/kvloader.module.mjs +28 -28
- package/esm2022/lib/loader/loader.component.mjs +17 -17
- package/esm2022/lib/loader/loader.service.mjs +29 -29
- package/esm2022/lib/login/kvlogin.module.mjs +47 -47
- package/esm2022/lib/login/login.component.mjs +52 -52
- package/esm2022/lib/menu/kvmenu.module.mjs +43 -43
- package/esm2022/lib/menu/menu.component.mjs +215 -215
- package/esm2022/lib/orgchart/orgchart.component.mjs +100 -100
- package/esm2022/lib/orgchart/orgchart.module.mjs +24 -24
- package/esm2022/lib/page-form/kv-page-form.module.mjs +38 -38
- package/esm2022/lib/page-form/page-form.component.mjs +147 -147
- package/esm2022/lib/picklist/kvpicklist.module.mjs +32 -32
- package/esm2022/lib/picklist/picklist.component.mjs +48 -48
- package/esm2022/lib/pipes/codigofile.pipe.mjs +19 -19
- package/esm2022/lib/pipes/cpfcnpj.pipe.mjs +25 -25
- package/esm2022/lib/pipes/pipes.module.mjs +34 -34
- package/esm2022/lib/pipes/telefone.pipe.mjs +45 -45
- package/esm2022/lib/table/kvtable.module.mjs +32 -32
- package/esm2022/lib/table/table.component.mjs +513 -513
- package/esm2022/lib/tree-table/kv-treetable.component.mjs +371 -371
- package/esm2022/lib/tree-table/kv-treetable.module.mjs +32 -32
- package/esm2022/lib/tree-view/kvtree-view.module.mjs +28 -28
- package/esm2022/lib/tree-view/tree-view.component.mjs +30 -30
- package/esm2022/lib/workspace/kvworkspace.module.mjs +51 -51
- package/esm2022/lib/workspace/workspace.component.mjs +183 -183
- package/esm2022/public-api.mjs +144 -144
- package/fesm2022/keevo-components.mjs +4569 -4569
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/api/base-components/base-component-button.d.ts +14 -14
- package/lib/api/base-components/base-component-chart.d.ts +40 -40
- package/lib/api/base-components/base-component-crud-form.d.ts +141 -141
- package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
- package/lib/api/base-components/base-component-crud.d.ts +36 -36
- package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -15
- package/lib/api/base-components/base-component-dropdown.d.ts +42 -42
- package/lib/api/base-components/base-component-input.d.ts +31 -31
- package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
- package/lib/api/base-components/base-component.d.ts +21 -21
- package/lib/api/components/chart/chart.config.d.ts +11 -11
- package/lib/api/components/chart/chart.model.d.ts +9 -9
- package/lib/api/components/chart/orchart.config.d.ts +35 -35
- package/lib/api/components/chart/orchart.item.d.ts +26 -26
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
- package/lib/api/components/error/error.component.d.ts +12 -12
- package/lib/api/components/error/kverror.module.d.ts +10 -10
- package/lib/api/components/table/action-item.d.ts +5 -5
- package/lib/api/components/table/kv-menuitem.d.ts +9 -9
- package/lib/api/components/table/table.config.column.d.ts +21 -21
- package/lib/api/components/table/table.config.d.ts +17 -17
- package/lib/api/components/table/table.paginate.d.ts +6 -6
- package/lib/api/helpers/component-providers.d.ts +2 -2
- package/lib/api/helpers/keevo-validators.d.ts +10 -10
- package/lib/api/helpers/translate-primeng.d.ts +4 -4
- package/lib/api/models/menu/menu.model.d.ts +10 -10
- package/lib/api/models/menu/menucompleto.model.d.ts +6 -6
- package/lib/api/models/menu/sistemamenu.model.d.ts +8 -8
- package/lib/api/modules/primeng.module.d.ts +61 -61
- package/lib/api/services/base.api.service.d.ts +25 -25
- package/lib/api/services/breadcrumbs.service.d.ts +16 -16
- package/lib/api/services/component.service.d.ts +11 -11
- package/lib/api/services/form.service.d.ts +27 -27
- package/lib/api/services/imagens.service.d.ts +10 -10
- package/lib/api/services/notification.service.d.ts +25 -25
- package/lib/api/services/object.service.d.ts +8 -8
- package/lib/avatar/avatar.component.d.ts +19 -19
- package/lib/avatar/kv-avatar.module.d.ts +8 -8
- package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -7
- package/lib/buttons/button-popup/button-popup.component.d.ts +13 -13
- package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -7
- package/lib/buttons/button-success/button-success.component.d.ts +7 -7
- package/lib/buttons/kvbutton.module.d.ts +11 -11
- package/lib/chart/chart.component.d.ts +56 -56
- package/lib/chart/kvchart.module.d.ts +10 -10
- package/lib/directives/template.directive.d.ts +11 -11
- package/lib/inputs/check/check.component.d.ts +11 -11
- package/lib/inputs/dropdown/dropdown.component.d.ts +14 -14
- package/lib/inputs/editor/editor.component.d.ts +36 -36
- package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -27
- package/lib/inputs/input-mask/input-mask.component.d.ts +12 -12
- package/lib/inputs/input-number/input-number.component.d.ts +19 -19
- package/lib/inputs/input-password/input-password.component.d.ts +13 -13
- package/lib/inputs/input-text/input-text.component.d.ts +9 -9
- package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +16 -16
- package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -16
- package/lib/inputs/input-time/input-time.component.d.ts +10 -10
- package/lib/inputs/kvinputs.module.d.ts +25 -25
- package/lib/inputs/multi-select/multi-select.component.d.ts +14 -14
- package/lib/inputs/radio-group/radio-group.component.d.ts +18 -18
- package/lib/inputs/switch/switch.component.d.ts +13 -13
- package/lib/keevo-components.module.d.ts +20 -20
- package/lib/label/label.component.d.ts +7 -7
- package/lib/label/label.module.d.ts +8 -8
- package/lib/loader/kvloader.module.d.ts +9 -9
- package/lib/loader/loader.component.d.ts +8 -8
- package/lib/loader/loader.service.d.ts +10 -10
- package/lib/login/kvlogin.module.d.ts +13 -13
- package/lib/login/login.component.d.ts +30 -30
- package/lib/menu/kvmenu.module.d.ts +12 -12
- package/lib/menu/menu.component.d.ts +73 -73
- package/lib/orgchart/orgchart.component.d.ts +27 -27
- package/lib/orgchart/orgchart.module.d.ts +9 -9
- package/lib/page-form/kv-page-form.module.d.ts +11 -11
- package/lib/page-form/page-form.component.d.ts +70 -70
- package/lib/picklist/kvpicklist.module.d.ts +10 -10
- package/lib/picklist/picklist.component.d.ts +20 -20
- package/lib/pipes/codigofile.pipe.d.ts +7 -7
- package/lib/pipes/cpfcnpj.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +10 -10
- package/lib/pipes/telefone.pipe.d.ts +7 -7
- package/lib/table/kvtable.module.d.ts +10 -10
- package/lib/table/table.component.d.ts +107 -107
- package/lib/tree-table/kv-treetable.component.d.ts +85 -85
- package/lib/tree-table/kv-treetable.module.d.ts +11 -11
- package/lib/tree-view/kvtree-view.module.d.ts +9 -9
- package/lib/tree-view/tree-view.component.d.ts +14 -14
- package/lib/workspace/kvworkspace.module.d.ts +14 -14
- package/lib/workspace/workspace.component.d.ts +46 -46
- package/package.json +1 -1
- package/public-api.d.ts +140 -140
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./orgchart.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
-
export declare class OrgchartModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OrgchartModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OrgchartModule, [typeof i1.OrgchartComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.OrgchartComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<OrgchartModule>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./orgchart.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
+
export declare class OrgchartModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrgchartModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OrgchartModule, [typeof i1.OrgchartComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.OrgchartComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OrgchartModule>;
|
|
9
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./page-form.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "../api/modules/primeng.module";
|
|
6
|
-
import * as i5 from "../buttons/kvbutton.module";
|
|
7
|
-
export declare class KvPageFormModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageFormModule, [typeof i1.PageFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule], [typeof i1.PageFormComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KvPageFormModule>;
|
|
11
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-form.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../api/modules/primeng.module";
|
|
6
|
+
import * as i5 from "../buttons/kvbutton.module";
|
|
7
|
+
export declare class KvPageFormModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageFormModule, [typeof i1.PageFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule], [typeof i1.PageFormComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvPageFormModule>;
|
|
11
|
+
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActionItem } from '../api/components/table/action-item';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PageFormComponent implements OnInit {
|
|
6
|
-
private fb;
|
|
7
|
-
/**
|
|
8
|
-
* Configurações do formulário
|
|
9
|
-
*/
|
|
10
|
-
formGroup: FormGroup;
|
|
11
|
-
TituloForm: string | undefined;
|
|
12
|
-
SubTituloForm: string | undefined;
|
|
13
|
-
isSaveLoading: boolean;
|
|
14
|
-
popup: boolean;
|
|
15
|
-
locationUseComponent: 'page' | 'dialog';
|
|
16
|
-
/**
|
|
17
|
-
* Botão cancelar
|
|
18
|
-
*/
|
|
19
|
-
iconBtnCancel: string;
|
|
20
|
-
showBtnCancel: boolean;
|
|
21
|
-
txtBtnCancel: string;
|
|
22
|
-
/**
|
|
23
|
-
* Botão salvar
|
|
24
|
-
*/
|
|
25
|
-
iconBtnSave: string;
|
|
26
|
-
showBtnSave: boolean;
|
|
27
|
-
txtBtnSave: string;
|
|
28
|
-
disableBtnSave: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Botão de opções
|
|
31
|
-
*/
|
|
32
|
-
actions: ActionItem[];
|
|
33
|
-
iconBtnSaveToogle: string;
|
|
34
|
-
showBtnSaveToogle: boolean;
|
|
35
|
-
txtBtnSaveToogle: string;
|
|
36
|
-
/**
|
|
37
|
-
* Botão fechar
|
|
38
|
-
*/
|
|
39
|
-
disableBtnSair: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Salvar dados
|
|
42
|
-
*/
|
|
43
|
-
onSave: EventEmitter<any>;
|
|
44
|
-
/**
|
|
45
|
-
* Cancelar
|
|
46
|
-
*/
|
|
47
|
-
onCancel: EventEmitter<any>;
|
|
48
|
-
constructor(fb: FormBuilder);
|
|
49
|
-
/**
|
|
50
|
-
* Adiciona sub-título à tela
|
|
51
|
-
*/
|
|
52
|
-
addSubTitle(): void;
|
|
53
|
-
ngOnInit(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Dispara o método de cancelamento da tela
|
|
56
|
-
* @param event evento
|
|
57
|
-
*/
|
|
58
|
-
cancel(event: Event): void;
|
|
59
|
-
/**
|
|
60
|
-
* Dispara o método de salvar da tela
|
|
61
|
-
* @param event evento
|
|
62
|
-
*/
|
|
63
|
-
save(event: Event): void;
|
|
64
|
-
/**
|
|
65
|
-
* Ajusta o tamanho da tela considerando o menu lateral
|
|
66
|
-
*/
|
|
67
|
-
setPageFormContainerAttributes(): void;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "kv-page-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "TituloForm": { "alias": "TituloForm"; "required": false; }; "SubTituloForm": { "alias": "SubTituloForm"; "required": false; }; "isSaveLoading": { "alias": "isSaveLoading"; "required": false; }; "popup": { "alias": "popup"; "required": false; }; "locationUseComponent": { "alias": "locationUseComponent"; "required": false; }; "iconBtnCancel": { "alias": "iconBtnCancel"; "required": false; }; "showBtnCancel": { "alias": "showBtnCancel"; "required": false; }; "txtBtnCancel": { "alias": "txtBtnCancel"; "required": false; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "iconBtnSaveToogle": { "alias": "iconBtnSaveToogle"; "required": false; }; "showBtnSaveToogle": { "alias": "showBtnSaveToogle"; "required": false; }; "txtBtnSaveToogle": { "alias": "txtBtnSaveToogle"; "required": false; }; "disableBtnSair": { "alias": "disableBtnSair"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, ["*"], false, never>;
|
|
70
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActionItem } from '../api/components/table/action-item';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PageFormComponent implements OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
/**
|
|
8
|
+
* Configurações do formulário
|
|
9
|
+
*/
|
|
10
|
+
formGroup: FormGroup;
|
|
11
|
+
TituloForm: string | undefined;
|
|
12
|
+
SubTituloForm: string | undefined;
|
|
13
|
+
isSaveLoading: boolean;
|
|
14
|
+
popup: boolean;
|
|
15
|
+
locationUseComponent: 'page' | 'dialog';
|
|
16
|
+
/**
|
|
17
|
+
* Botão cancelar
|
|
18
|
+
*/
|
|
19
|
+
iconBtnCancel: string;
|
|
20
|
+
showBtnCancel: boolean;
|
|
21
|
+
txtBtnCancel: string;
|
|
22
|
+
/**
|
|
23
|
+
* Botão salvar
|
|
24
|
+
*/
|
|
25
|
+
iconBtnSave: string;
|
|
26
|
+
showBtnSave: boolean;
|
|
27
|
+
txtBtnSave: string;
|
|
28
|
+
disableBtnSave: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Botão de opções
|
|
31
|
+
*/
|
|
32
|
+
actions: ActionItem[];
|
|
33
|
+
iconBtnSaveToogle: string;
|
|
34
|
+
showBtnSaveToogle: boolean;
|
|
35
|
+
txtBtnSaveToogle: string;
|
|
36
|
+
/**
|
|
37
|
+
* Botão fechar
|
|
38
|
+
*/
|
|
39
|
+
disableBtnSair: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Salvar dados
|
|
42
|
+
*/
|
|
43
|
+
onSave: EventEmitter<any>;
|
|
44
|
+
/**
|
|
45
|
+
* Cancelar
|
|
46
|
+
*/
|
|
47
|
+
onCancel: EventEmitter<any>;
|
|
48
|
+
constructor(fb: FormBuilder);
|
|
49
|
+
/**
|
|
50
|
+
* Adiciona sub-título à tela
|
|
51
|
+
*/
|
|
52
|
+
addSubTitle(): void;
|
|
53
|
+
ngOnInit(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Dispara o método de cancelamento da tela
|
|
56
|
+
* @param event evento
|
|
57
|
+
*/
|
|
58
|
+
cancel(event: Event): void;
|
|
59
|
+
/**
|
|
60
|
+
* Dispara o método de salvar da tela
|
|
61
|
+
* @param event evento
|
|
62
|
+
*/
|
|
63
|
+
save(event: Event): void;
|
|
64
|
+
/**
|
|
65
|
+
* Ajusta o tamanho da tela considerando o menu lateral
|
|
66
|
+
*/
|
|
67
|
+
setPageFormContainerAttributes(): void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "kv-page-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "TituloForm": { "alias": "TituloForm"; "required": false; }; "SubTituloForm": { "alias": "SubTituloForm"; "required": false; }; "isSaveLoading": { "alias": "isSaveLoading"; "required": false; }; "popup": { "alias": "popup"; "required": false; }; "locationUseComponent": { "alias": "locationUseComponent"; "required": false; }; "iconBtnCancel": { "alias": "iconBtnCancel"; "required": false; }; "showBtnCancel": { "alias": "showBtnCancel"; "required": false; }; "txtBtnCancel": { "alias": "txtBtnCancel"; "required": false; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "iconBtnSaveToogle": { "alias": "iconBtnSaveToogle"; "required": false; }; "showBtnSaveToogle": { "alias": "showBtnSaveToogle"; "required": false; }; "txtBtnSaveToogle": { "alias": "txtBtnSaveToogle"; "required": false; }; "disableBtnSair": { "alias": "disableBtnSair"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, ["*"], false, never>;
|
|
70
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./picklist.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
export declare class KvPickListModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvPickListModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPickListModule, [typeof i1.PickListComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.PickListComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KvPickListModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./picklist.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class KvPickListModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPickListModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPickListModule, [typeof i1.PickListComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.PickListComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvPickListModule>;
|
|
10
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PickListComponent implements OnInit {
|
|
4
|
-
source: any[];
|
|
5
|
-
sourceHeader: string;
|
|
6
|
-
sourceStyle: any;
|
|
7
|
-
target: any[];
|
|
8
|
-
targetHeader: string;
|
|
9
|
-
targetStyle: any;
|
|
10
|
-
dragdrop: boolean;
|
|
11
|
-
responsive: boolean;
|
|
12
|
-
filterBy: string;
|
|
13
|
-
breakpoint: string;
|
|
14
|
-
stripedRows: boolean;
|
|
15
|
-
itemTemplate: TemplateRef<any>;
|
|
16
|
-
constructor();
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PickListComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PickListComponent, "kv-picklist", never, { "source": { "alias": "source"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; "sourceStyle": { "alias": "sourceStyle"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetHeader": { "alias": "targetHeader"; "required": false; }; "targetStyle": { "alias": "targetStyle"; "required": false; }; "dragdrop": { "alias": "dragdrop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PickListComponent implements OnInit {
|
|
4
|
+
source: any[];
|
|
5
|
+
sourceHeader: string;
|
|
6
|
+
sourceStyle: any;
|
|
7
|
+
target: any[];
|
|
8
|
+
targetHeader: string;
|
|
9
|
+
targetStyle: any;
|
|
10
|
+
dragdrop: boolean;
|
|
11
|
+
responsive: boolean;
|
|
12
|
+
filterBy: string;
|
|
13
|
+
breakpoint: string;
|
|
14
|
+
stripedRows: boolean;
|
|
15
|
+
itemTemplate: TemplateRef<any>;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PickListComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PickListComponent, "kv-picklist", never, { "source": { "alias": "source"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; "sourceStyle": { "alias": "sourceStyle"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetHeader": { "alias": "targetHeader"; "required": false; }; "targetStyle": { "alias": "targetStyle"; "required": false; }; "dragdrop": { "alias": "dragdrop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CodigoFipePipe implements PipeTransform {
|
|
4
|
-
transform(value: string): string | null;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CodigoFipePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CodigoFipePipe, "codigoFipe", false>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CodigoFipePipe implements PipeTransform {
|
|
4
|
+
transform(value: string): string | null;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CodigoFipePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CodigoFipePipe, "codigoFipe", false>;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CpfCnpjPipe implements PipeTransform {
|
|
4
|
-
transform(value: string): string | null;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CpfCnpjPipe, "cpfCnpj", false>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CpfCnpjPipe implements PipeTransform {
|
|
4
|
+
transform(value: string): string | null;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CpfCnpjPipe, "cpfCnpj", false>;
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./cpfcnpj.pipe";
|
|
3
|
-
import * as i2 from "./telefone.pipe";
|
|
4
|
-
import * as i3 from "./codigofile.pipe";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
export declare class PipesModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe], [typeof i4.CommonModule], [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cpfcnpj.pipe";
|
|
3
|
+
import * as i2 from "./telefone.pipe";
|
|
4
|
+
import * as i3 from "./codigofile.pipe";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class PipesModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe], [typeof i4.CommonModule], [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TelefonePipe implements PipeTransform {
|
|
4
|
-
transform(tel: string): string | null;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TelefonePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TelefonePipe, "Telefone", false>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TelefonePipe implements PipeTransform {
|
|
4
|
+
transform(tel: string): string | null;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TelefonePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TelefonePipe, "Telefone", false>;
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./table.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
export declare class KvTableModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvTableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.TableComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KvTableModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class KvTableModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvTableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.TableComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvTableModule>;
|
|
10
|
+
}
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
2
|
-
import { ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
-
import { Table } from 'primeng/table';
|
|
4
|
-
import { TableConfig } from '../api/components/table/table.config';
|
|
5
|
-
import { TableConfigColumn } from '../api/components/table/table.config.column';
|
|
6
|
-
import { CodigoFipePipe } from '../pipes/codigofile.pipe';
|
|
7
|
-
import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
|
|
8
|
-
import { TelefonePipe } from '../pipes/telefone.pipe';
|
|
9
|
-
import { KvMenuItem } from '../api/components/table/kv-menuitem';
|
|
10
|
-
import { MenuItemCommandEvent } from 'primeng/api';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class TableComponent implements OnInit {
|
|
13
|
-
private readonly datePipe;
|
|
14
|
-
private readonly decimalPipe;
|
|
15
|
-
private readonly codigoFipePipe;
|
|
16
|
-
private readonly cpfCnpjPipe;
|
|
17
|
-
private readonly telefonePipe;
|
|
18
|
-
config: TableConfig;
|
|
19
|
-
pesquisaValue: string;
|
|
20
|
-
globalFilterFields: string[];
|
|
21
|
-
actionsTemplate: TemplateRef<any>;
|
|
22
|
-
selectedSize: string;
|
|
23
|
-
tamanhoTela: number;
|
|
24
|
-
menuItems: KvMenuItem[];
|
|
25
|
-
menuColumns: KvMenuItem[];
|
|
26
|
-
checked: boolean;
|
|
27
|
-
columns: TableConfigColumn[];
|
|
28
|
-
deletedColuns: TableConfigColumn[];
|
|
29
|
-
menuFiltro: boolean;
|
|
30
|
-
checkboxClicked: boolean;
|
|
31
|
-
showFiltrosAvancados: boolean;
|
|
32
|
-
collapsed: boolean;
|
|
33
|
-
commandEvent: MenuItemCommandEvent;
|
|
34
|
-
templates: QueryList<any>;
|
|
35
|
-
_templates: any;
|
|
36
|
-
table: Table;
|
|
37
|
-
deletedColumnsIndex: any[];
|
|
38
|
-
set setConfig(value: TableConfig);
|
|
39
|
-
dataSource: any;
|
|
40
|
-
selectedItems: any[];
|
|
41
|
-
totalRecords: number;
|
|
42
|
-
paginator: boolean;
|
|
43
|
-
rowsPerPageOptions: number[];
|
|
44
|
-
rows: number;
|
|
45
|
-
pageLinksOptions: number;
|
|
46
|
-
showFirstLastIcon: boolean;
|
|
47
|
-
tableSize: number;
|
|
48
|
-
applyStyle: Function;
|
|
49
|
-
acoesLinhaTabela: boolean;
|
|
50
|
-
filterColumnsBtn: boolean;
|
|
51
|
-
filtrosAvancados: boolean;
|
|
52
|
-
scrollHeight: string;
|
|
53
|
-
isTableScrollable: boolean;
|
|
54
|
-
onActiveItem: EventEmitter<any>;
|
|
55
|
-
onActiveItemLote: EventEmitter<any>;
|
|
56
|
-
onPaginate: EventEmitter<any>;
|
|
57
|
-
onSelectionChange: EventEmitter<any>;
|
|
58
|
-
doubleClickEvent: EventEmitter<any>;
|
|
59
|
-
filterField: EventEmitter<any>;
|
|
60
|
-
filtrosAvancadosEmit: EventEmitter<boolean>;
|
|
61
|
-
menuFiltroDiv: ElementRef;
|
|
62
|
-
botaoFiltro: ElementRef;
|
|
63
|
-
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
|
|
64
|
-
ngOnInit(): void;
|
|
65
|
-
onWindowResize(): void;
|
|
66
|
-
activeItem(rowData: any): void;
|
|
67
|
-
activeItemLote(rowData: any): void;
|
|
68
|
-
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
69
|
-
isChipField(col: TableConfigColumn): boolean;
|
|
70
|
-
isImageField(col: TableConfigColumn): boolean;
|
|
71
|
-
isRowSelectable(event: any): boolean;
|
|
72
|
-
isDisabledCheckbox(rowData: any): boolean;
|
|
73
|
-
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
74
|
-
onGlobalFilter(table: Table, event: Event): void;
|
|
75
|
-
paginate(event: any): void;
|
|
76
|
-
selectionChange(value?: never[]): void;
|
|
77
|
-
returnRowClass(rowData: any, col: TableConfigColumn): string;
|
|
78
|
-
expiredFile(rowData: any, col: TableConfigColumn): boolean;
|
|
79
|
-
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
80
|
-
formatarValor(valor: number): string;
|
|
81
|
-
adjustTableSize(): void;
|
|
82
|
-
doubleClick(e: any, rowData: any): void;
|
|
83
|
-
centralizarColunas(col: any): string;
|
|
84
|
-
alignColunas(col: any): string;
|
|
85
|
-
alignColunasHeader(col: any): string;
|
|
86
|
-
retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
|
|
87
|
-
retornarRow(rowData: any, col: any, field: string): string;
|
|
88
|
-
exibirCampo(field: any, rowData: any): any;
|
|
89
|
-
criarMenusModal(data: any): void;
|
|
90
|
-
returnClassChip(rowData: any, col: any): string;
|
|
91
|
-
returnClassIcon(rowData: any, col: any): string;
|
|
92
|
-
returnTooltipIcon(rowData: any, col: any): string;
|
|
93
|
-
returnTooltipRow(rowData: any, col: any): any;
|
|
94
|
-
deleteColumn(field: string): void;
|
|
95
|
-
addColumn(field: string): void;
|
|
96
|
-
dinamicColumnSet(e: any, col: any): void;
|
|
97
|
-
checkMenuFiltro(col: any): void;
|
|
98
|
-
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
99
|
-
callDisabled(action: KvMenuItem, data: any): boolean;
|
|
100
|
-
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
101
|
-
checkHideColumns(): void;
|
|
102
|
-
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
103
|
-
filtrosAvancadosEvent(e: any): void;
|
|
104
|
-
isButtonDisable(action: any, rowData: any, commandEvent: any): any;
|
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "acoesLinhaTabela": { "alias": "acoesLinhaTabela"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; }, ["templates"], ["*"], false, never>;
|
|
107
|
-
}
|
|
1
|
+
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
2
|
+
import { ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Table } from 'primeng/table';
|
|
4
|
+
import { TableConfig } from '../api/components/table/table.config';
|
|
5
|
+
import { TableConfigColumn } from '../api/components/table/table.config.column';
|
|
6
|
+
import { CodigoFipePipe } from '../pipes/codigofile.pipe';
|
|
7
|
+
import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
|
|
8
|
+
import { TelefonePipe } from '../pipes/telefone.pipe';
|
|
9
|
+
import { KvMenuItem } from '../api/components/table/kv-menuitem';
|
|
10
|
+
import { MenuItemCommandEvent } from 'primeng/api';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class TableComponent implements OnInit {
|
|
13
|
+
private readonly datePipe;
|
|
14
|
+
private readonly decimalPipe;
|
|
15
|
+
private readonly codigoFipePipe;
|
|
16
|
+
private readonly cpfCnpjPipe;
|
|
17
|
+
private readonly telefonePipe;
|
|
18
|
+
config: TableConfig;
|
|
19
|
+
pesquisaValue: string;
|
|
20
|
+
globalFilterFields: string[];
|
|
21
|
+
actionsTemplate: TemplateRef<any>;
|
|
22
|
+
selectedSize: string;
|
|
23
|
+
tamanhoTela: number;
|
|
24
|
+
menuItems: KvMenuItem[];
|
|
25
|
+
menuColumns: KvMenuItem[];
|
|
26
|
+
checked: boolean;
|
|
27
|
+
columns: TableConfigColumn[];
|
|
28
|
+
deletedColuns: TableConfigColumn[];
|
|
29
|
+
menuFiltro: boolean;
|
|
30
|
+
checkboxClicked: boolean;
|
|
31
|
+
showFiltrosAvancados: boolean;
|
|
32
|
+
collapsed: boolean;
|
|
33
|
+
commandEvent: MenuItemCommandEvent;
|
|
34
|
+
templates: QueryList<any>;
|
|
35
|
+
_templates: any;
|
|
36
|
+
table: Table;
|
|
37
|
+
deletedColumnsIndex: any[];
|
|
38
|
+
set setConfig(value: TableConfig);
|
|
39
|
+
dataSource: any;
|
|
40
|
+
selectedItems: any[];
|
|
41
|
+
totalRecords: number;
|
|
42
|
+
paginator: boolean;
|
|
43
|
+
rowsPerPageOptions: number[];
|
|
44
|
+
rows: number;
|
|
45
|
+
pageLinksOptions: number;
|
|
46
|
+
showFirstLastIcon: boolean;
|
|
47
|
+
tableSize: number;
|
|
48
|
+
applyStyle: Function;
|
|
49
|
+
acoesLinhaTabela: boolean;
|
|
50
|
+
filterColumnsBtn: boolean;
|
|
51
|
+
filtrosAvancados: boolean;
|
|
52
|
+
scrollHeight: string;
|
|
53
|
+
isTableScrollable: boolean;
|
|
54
|
+
onActiveItem: EventEmitter<any>;
|
|
55
|
+
onActiveItemLote: EventEmitter<any>;
|
|
56
|
+
onPaginate: EventEmitter<any>;
|
|
57
|
+
onSelectionChange: EventEmitter<any>;
|
|
58
|
+
doubleClickEvent: EventEmitter<any>;
|
|
59
|
+
filterField: EventEmitter<any>;
|
|
60
|
+
filtrosAvancadosEmit: EventEmitter<boolean>;
|
|
61
|
+
menuFiltroDiv: ElementRef;
|
|
62
|
+
botaoFiltro: ElementRef;
|
|
63
|
+
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
|
|
64
|
+
ngOnInit(): void;
|
|
65
|
+
onWindowResize(): void;
|
|
66
|
+
activeItem(rowData: any): void;
|
|
67
|
+
activeItemLote(rowData: any): void;
|
|
68
|
+
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
69
|
+
isChipField(col: TableConfigColumn): boolean;
|
|
70
|
+
isImageField(col: TableConfigColumn): boolean;
|
|
71
|
+
isRowSelectable(event: any): boolean;
|
|
72
|
+
isDisabledCheckbox(rowData: any): boolean;
|
|
73
|
+
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
74
|
+
onGlobalFilter(table: Table, event: Event): void;
|
|
75
|
+
paginate(event: any): void;
|
|
76
|
+
selectionChange(value?: never[]): void;
|
|
77
|
+
returnRowClass(rowData: any, col: TableConfigColumn): string;
|
|
78
|
+
expiredFile(rowData: any, col: TableConfigColumn): boolean;
|
|
79
|
+
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
80
|
+
formatarValor(valor: number): string;
|
|
81
|
+
adjustTableSize(): void;
|
|
82
|
+
doubleClick(e: any, rowData: any): void;
|
|
83
|
+
centralizarColunas(col: any): string;
|
|
84
|
+
alignColunas(col: any): string;
|
|
85
|
+
alignColunasHeader(col: any): string;
|
|
86
|
+
retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
|
|
87
|
+
retornarRow(rowData: any, col: any, field: string): string;
|
|
88
|
+
exibirCampo(field: any, rowData: any): any;
|
|
89
|
+
criarMenusModal(data: any): void;
|
|
90
|
+
returnClassChip(rowData: any, col: any): string;
|
|
91
|
+
returnClassIcon(rowData: any, col: any): string;
|
|
92
|
+
returnTooltipIcon(rowData: any, col: any): string;
|
|
93
|
+
returnTooltipRow(rowData: any, col: any): any;
|
|
94
|
+
deleteColumn(field: string): void;
|
|
95
|
+
addColumn(field: string): void;
|
|
96
|
+
dinamicColumnSet(e: any, col: any): void;
|
|
97
|
+
checkMenuFiltro(col: any): void;
|
|
98
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
99
|
+
callDisabled(action: KvMenuItem, data: any): boolean;
|
|
100
|
+
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
101
|
+
checkHideColumns(): void;
|
|
102
|
+
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
103
|
+
filtrosAvancadosEvent(e: any): void;
|
|
104
|
+
isButtonDisable(action: any, rowData: any, commandEvent: any): any;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "acoesLinhaTabela": { "alias": "acoesLinhaTabela"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; }, ["templates"], ["*"], false, never>;
|
|
107
|
+
}
|