keevo-components 1.8.38 → 1.8.39
Sign up to get free protection for your applications and to get access to all the features.
- 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 +298 -298
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +78 -78
- 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 +169 -169
- 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 +51 -51
- 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/table/action-item.mjs +2 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +3 -3
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -2
- 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/components/table/tabledit.config.mjs +2 -2
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -2
- package/esm2022/lib/api/directives/template/template.directive.mjs +24 -24
- package/esm2022/lib/api/helpers/component-providers.mjs +16 -16
- package/esm2022/lib/api/helpers/keevo-validators.mjs +72 -72
- 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/pipes/codigofile.pipe.mjs +19 -19
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -25
- package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -29
- package/esm2022/lib/api/pipes/pipes.module.mjs +39 -39
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -45
- 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 +85 -85
- 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 +39 -39
- package/esm2022/lib/components/keevo-components.module.mjs +144 -144
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -78
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -32
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +31 -17
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +31 -31
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -17
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -17
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -39
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +92 -92
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -28
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -145
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -26
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -35
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +26 -26
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +37 -37
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +88 -88
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -89
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -29
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -59
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -33
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +21 -21
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -42
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -43
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -24
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +108 -108
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -44
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +53 -53
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +34 -34
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -15
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -24
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -17
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -28
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -29
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -52
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -47
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +188 -188
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -47
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +67 -67
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -31
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -100
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -24
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +147 -147
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -38
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +48 -48
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -32
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -58
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -28
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +554 -554
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -36
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +567 -567
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +34 -34
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +215 -215
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -28
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -30
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -28
- package/esm2022/lib/components/kv-treetable/kv-treetable.component.mjs +371 -371
- package/esm2022/lib/components/kv-treetable/kv-treetable.module.mjs +32 -32
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +178 -178
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -51
- package/esm2022/public-api.mjs +169 -169
- package/fesm2022/keevo-components.mjs +5786 -5772
- 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 +145 -145
- 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 +44 -44
- 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 +22 -22
- 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/table/action-item.d.ts +11 -9
- package/lib/api/components/table/kv-menuitem.d.ts +10 -10
- package/lib/api/components/table/table-dropdown-control.d.ts +6 -6
- package/lib/api/components/table/table.config.column.d.ts +25 -25
- package/lib/api/components/table/table.config.d.ts +19 -19
- package/lib/api/components/table/table.paginate.d.ts +6 -6
- package/lib/api/components/table/tabledit.config.d.ts +8 -8
- package/lib/api/components/table/tableedit.config.column.d.ts +10 -10
- package/lib/api/directives/template/template.directive.d.ts +11 -11
- package/lib/api/helpers/component-providers.d.ts +2 -2
- package/lib/api/helpers/keevo-validators.d.ts +11 -11
- 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/pipes/codigofile.pipe.d.ts +7 -7
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -7
- package/lib/api/pipes/mask.pipe.d.ts +7 -7
- package/lib/api/pipes/pipes.module.d.ts +11 -11
- package/lib/api/pipes/telefone.pipe.d.ts +7 -7
- 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 +28 -28
- 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 +9 -9
- package/lib/components/keevo-components.module.d.ts +25 -25
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -22
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -10
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +13 -7
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +13 -13
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -7
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -7
- package/lib/components/kv-buttons/kv-button.module.d.ts +11 -11
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +16 -16
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -9
- package/lib/components/kv-chart/kv-chart.component.d.ts +56 -56
- package/lib/components/kv-chart/{kvchart.module.d.ts → kv-chart.module.d.ts} +10 -10
- package/lib/components/kv-error/kv-error.component.d.ts +12 -12
- package/lib/components/kv-error/kv-error.module.d.ts +10 -10
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +11 -11
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -14
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +36 -36
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -27
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -12
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -19
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -13
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +9 -9
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -16
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -16
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -10
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +25 -25
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -15
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -18
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +14 -14
- package/lib/components/kv-label/kv-label.component.d.ts +7 -7
- package/lib/components/kv-label/kv-label.module.d.ts +8 -8
- package/lib/components/kv-loader/kv-loader.component.d.ts +8 -8
- package/lib/components/kv-loader/kv-loader.module.d.ts +9 -9
- package/lib/components/kv-loader/kv-loader.service.d.ts +10 -10
- package/lib/components/kv-login/kv-login.component.d.ts +30 -30
- package/lib/components/kv-login/kv-login.module.d.ts +13 -13
- package/lib/components/kv-menu/kv-menu.component.d.ts +61 -61
- package/lib/components/kv-menu/kv-menu.module.d.ts +13 -13
- package/lib/components/kv-modal/kv-modal.component.d.ts +20 -20
- package/lib/components/kv-modal/kv-modal.module.d.ts +10 -10
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -27
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -9
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +70 -70
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -11
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +20 -20
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -10
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -67
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -9
- package/lib/components/kv-table/kv-table.component.d.ts +113 -113
- package/lib/components/kv-table/kv-table.module.d.ts +11 -11
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +116 -116
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +12 -12
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +42 -42
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -9
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -14
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -9
- package/lib/components/kv-treetable/kv-treetable.component.d.ts +85 -85
- package/lib/components/kv-treetable/kv-treetable.module.d.ts +11 -11
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +46 -46
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -14
- package/package.json +1 -1
- package/public-api.d.ts +165 -165
- package/esm2022/lib/components/kv-chart/kvchart.module.mjs +0 -32
@@ -1,44 +1,44 @@
|
|
1
|
-
import { EventEmitter, OnInit, Type } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
4
|
-
import { BaseComponentInput } from './base-component-input';
|
5
|
-
import { ComponentService } from '../services/component.service';
|
6
|
-
import { filtroCombo } from '../components/dropdown/filtro.combo';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare abstract class BaseComponentDropDown extends BaseComponentInput<any> implements OnInit {
|
9
|
-
private dialogService;
|
10
|
-
filteredOptions: any[];
|
11
|
-
options: any[];
|
12
|
-
optionLabel: string;
|
13
|
-
optionValue: string;
|
14
|
-
optionDisabled: string;
|
15
|
-
group: boolean;
|
16
|
-
optionGroupLabel: string;
|
17
|
-
optionGroupChildren: string;
|
18
|
-
filter: boolean;
|
19
|
-
lazy: boolean;
|
20
|
-
showAddButton: boolean;
|
21
|
-
showClear: boolean;
|
22
|
-
widthField?: string;
|
23
|
-
onAddClick: EventEmitter<any>;
|
24
|
-
onClick: EventEmitter<any>;
|
25
|
-
onLoadCombo: EventEmitter<any>;
|
26
|
-
onSelectionChange: EventEmitter<any>;
|
27
|
-
onSelectionValue: EventEmitter<any>;
|
28
|
-
requestComplete: EventEmitter<any>;
|
29
|
-
constructor(componentService: ComponentService, dialogService: DialogService);
|
30
|
-
ngOnInit(): void;
|
31
|
-
protected addClick(event: Event): void;
|
32
|
-
carregarCombo(filtro?: filtroCombo): void;
|
33
|
-
protected carregarComboObs(obs: Observable<any>): void;
|
34
|
-
filterOptions(field: string, value: any): void;
|
35
|
-
protected listar(): any;
|
36
|
-
protected listarCombo(value: any): any;
|
37
|
-
protected openDialog(componentType: Type<any>, width?: string, height?: string): void;
|
38
|
-
protected onInputChange(event: any): void;
|
39
|
-
onInputClick(event: any): void;
|
40
|
-
onInputFilter(event: any): void;
|
41
|
-
writeValue(value: any): void;
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDown, never>;
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDown, "ng-component", never, { "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "group": { "alias": "group"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "widthField": { "alias": "widthField"; "required": false; }; }, { "onAddClick": "onAddClick"; "onClick": "onClick"; "onLoadCombo": "onLoadCombo"; "onSelectionChange": "onSelectionChange"; "onSelectionValue": "onSelectionValue"; "requestComplete": "requestComplete"; }, never, never, false, never>;
|
44
|
-
}
|
1
|
+
import { EventEmitter, OnInit, Type } from '@angular/core';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
4
|
+
import { BaseComponentInput } from './base-component-input';
|
5
|
+
import { ComponentService } from '../services/component.service';
|
6
|
+
import { filtroCombo } from '../components/dropdown/filtro.combo';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare abstract class BaseComponentDropDown extends BaseComponentInput<any> implements OnInit {
|
9
|
+
private dialogService;
|
10
|
+
filteredOptions: any[];
|
11
|
+
options: any[];
|
12
|
+
optionLabel: string;
|
13
|
+
optionValue: string;
|
14
|
+
optionDisabled: string;
|
15
|
+
group: boolean;
|
16
|
+
optionGroupLabel: string;
|
17
|
+
optionGroupChildren: string;
|
18
|
+
filter: boolean;
|
19
|
+
lazy: boolean;
|
20
|
+
showAddButton: boolean;
|
21
|
+
showClear: boolean;
|
22
|
+
widthField?: string;
|
23
|
+
onAddClick: EventEmitter<any>;
|
24
|
+
onClick: EventEmitter<any>;
|
25
|
+
onLoadCombo: EventEmitter<any>;
|
26
|
+
onSelectionChange: EventEmitter<any>;
|
27
|
+
onSelectionValue: EventEmitter<any>;
|
28
|
+
requestComplete: EventEmitter<any>;
|
29
|
+
constructor(componentService: ComponentService, dialogService: DialogService);
|
30
|
+
ngOnInit(): void;
|
31
|
+
protected addClick(event: Event): void;
|
32
|
+
carregarCombo(filtro?: filtroCombo): void;
|
33
|
+
protected carregarComboObs(obs: Observable<any>): void;
|
34
|
+
filterOptions(field: string, value: any): void;
|
35
|
+
protected listar(): any;
|
36
|
+
protected listarCombo(value: any): any;
|
37
|
+
protected openDialog(componentType: Type<any>, width?: string, height?: string): void;
|
38
|
+
protected onInputChange(event: any): void;
|
39
|
+
onInputClick(event: any): void;
|
40
|
+
onInputFilter(event: any): void;
|
41
|
+
writeValue(value: any): void;
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDown, never>;
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDown, "ng-component", never, { "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "group": { "alias": "group"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "widthField": { "alias": "widthField"; "required": false; }; }, { "onAddClick": "onAddClick"; "onClick": "onClick"; "onLoadCombo": "onLoadCombo"; "onSelectionChange": "onSelectionChange"; "onSelectionValue": "onSelectionValue"; "requestComplete": "requestComplete"; }, never, never, false, never>;
|
44
|
+
}
|
@@ -1,31 +1,31 @@
|
|
1
|
-
import { AfterContentInit, AfterViewInit, EventEmitter, OnInit, QueryList } from "@angular/core";
|
2
|
-
import { FormControl } from '@angular/forms';
|
3
|
-
import { BaseComponent } from './base-component';
|
4
|
-
import { ComponentService } from '../services/component.service';
|
5
|
-
import { KvErrorComponent } from '../../components/kv-error/kv-error.component';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare abstract class BaseComponentInput<T> extends BaseComponent<T> implements OnInit, AfterContentInit, AfterViewInit {
|
8
|
-
protected readonly componentService: ComponentService;
|
9
|
-
formControl: FormControl | undefined;
|
10
|
-
protected hasError: boolean | undefined;
|
11
|
-
placeholder: string;
|
12
|
-
onBlur: EventEmitter<any>;
|
13
|
-
onInput: EventEmitter<any>;
|
14
|
-
onClose: EventEmitter<any>;
|
15
|
-
viewErrors: QueryList<KvErrorComponent>;
|
16
|
-
contentErrors: QueryList<KvErrorComponent>;
|
17
|
-
constructor(componentService: ComponentService);
|
18
|
-
get baseInputClass(): string;
|
19
|
-
erroMessage(): string | undefined;
|
20
|
-
getName(control: FormControl): string | null;
|
21
|
-
hasControlError(): boolean;
|
22
|
-
ngAfterViewInit(): void;
|
23
|
-
ngAfterContentInit(): void;
|
24
|
-
ngOnInit(): void;
|
25
|
-
onInputBlur(event: Event): void;
|
26
|
-
onInputClose(event: any): void;
|
27
|
-
onInputInput(event: Event): void;
|
28
|
-
protected setPlaceHolder(p: string): void;
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentInput<any>, never>;
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentInput<any>, "ng-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onBlur": "onBlur"; "onInput": "onInput"; "onClose": "onClose"; }, ["contentErrors"], never, false, never>;
|
31
|
-
}
|
1
|
+
import { AfterContentInit, AfterViewInit, EventEmitter, OnInit, QueryList } from "@angular/core";
|
2
|
+
import { FormControl } from '@angular/forms';
|
3
|
+
import { BaseComponent } from './base-component';
|
4
|
+
import { ComponentService } from '../services/component.service';
|
5
|
+
import { KvErrorComponent } from '../../components/kv-error/kv-error.component';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare abstract class BaseComponentInput<T> extends BaseComponent<T> implements OnInit, AfterContentInit, AfterViewInit {
|
8
|
+
protected readonly componentService: ComponentService;
|
9
|
+
formControl: FormControl | undefined;
|
10
|
+
protected hasError: boolean | undefined;
|
11
|
+
placeholder: string;
|
12
|
+
onBlur: EventEmitter<any>;
|
13
|
+
onInput: EventEmitter<any>;
|
14
|
+
onClose: EventEmitter<any>;
|
15
|
+
viewErrors: QueryList<KvErrorComponent>;
|
16
|
+
contentErrors: QueryList<KvErrorComponent>;
|
17
|
+
constructor(componentService: ComponentService);
|
18
|
+
get baseInputClass(): string;
|
19
|
+
erroMessage(): string | undefined;
|
20
|
+
getName(control: FormControl): string | null;
|
21
|
+
hasControlError(): boolean;
|
22
|
+
ngAfterViewInit(): void;
|
23
|
+
ngAfterContentInit(): void;
|
24
|
+
ngOnInit(): void;
|
25
|
+
onInputBlur(event: Event): void;
|
26
|
+
onInputClose(event: any): void;
|
27
|
+
onInputInput(event: Event): void;
|
28
|
+
protected setPlaceHolder(p: string): void;
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentInput<any>, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentInput<any>, "ng-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onBlur": "onBlur"; "onInput": "onInput"; "onClose": "onClose"; }, ["contentErrors"], never, false, never>;
|
31
|
+
}
|
@@ -1,35 +1,35 @@
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
2
|
-
import { BaseComponentInput } from './base-component-input';
|
3
|
-
import { ComponentService } from '../services/component.service';
|
4
|
-
import { filtroCombo } from '../components/dropdown/filtro.combo';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare abstract class BaseComponentMultiSelect extends BaseComponentInput<any> implements OnInit {
|
7
|
-
options: any;
|
8
|
-
optionLabel: string;
|
9
|
-
optionValue: string;
|
10
|
-
filter: boolean;
|
11
|
-
showClear: boolean;
|
12
|
-
lazy: boolean;
|
13
|
-
filteredOptions: any;
|
14
|
-
onSelectionChange: EventEmitter<any>;
|
15
|
-
onPanelHide: EventEmitter<any>;
|
16
|
-
onSelectionValue: EventEmitter<any>;
|
17
|
-
onClick: EventEmitter<any>;
|
18
|
-
loadedCombo: boolean;
|
19
|
-
constructor(componentService: ComponentService);
|
20
|
-
ngOnInit(): void;
|
21
|
-
carregarCombo(filtro?: filtroCombo): void;
|
22
|
-
private carregarComboObs;
|
23
|
-
filterOptions(field: string, value: any): void;
|
24
|
-
protected onInputChange(event: any): void;
|
25
|
-
onInputClick(event: any): void;
|
26
|
-
onInputFilter(event: any): void;
|
27
|
-
protected listar(): any;
|
28
|
-
protected listarCombo(value: any): any;
|
29
|
-
panelHide(event: any): void;
|
30
|
-
get baseInputClass(): string;
|
31
|
-
selectionChange(event: any): void;
|
32
|
-
requestCompleted(): boolean;
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentMultiSelect, never>;
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentMultiSelect, "ng-component", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "filteredOptions": { "alias": "filteredOptions"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; "onPanelHide": "onPanelHide"; "onSelectionValue": "onSelectionValue"; "onClick": "onClick"; }, never, never, false, never>;
|
35
|
-
}
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
|
+
import { BaseComponentInput } from './base-component-input';
|
3
|
+
import { ComponentService } from '../services/component.service';
|
4
|
+
import { filtroCombo } from '../components/dropdown/filtro.combo';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare abstract class BaseComponentMultiSelect extends BaseComponentInput<any> implements OnInit {
|
7
|
+
options: any;
|
8
|
+
optionLabel: string;
|
9
|
+
optionValue: string;
|
10
|
+
filter: boolean;
|
11
|
+
showClear: boolean;
|
12
|
+
lazy: boolean;
|
13
|
+
filteredOptions: any;
|
14
|
+
onSelectionChange: EventEmitter<any>;
|
15
|
+
onPanelHide: EventEmitter<any>;
|
16
|
+
onSelectionValue: EventEmitter<any>;
|
17
|
+
onClick: EventEmitter<any>;
|
18
|
+
loadedCombo: boolean;
|
19
|
+
constructor(componentService: ComponentService);
|
20
|
+
ngOnInit(): void;
|
21
|
+
carregarCombo(filtro?: filtroCombo): void;
|
22
|
+
private carregarComboObs;
|
23
|
+
filterOptions(field: string, value: any): void;
|
24
|
+
protected onInputChange(event: any): void;
|
25
|
+
onInputClick(event: any): void;
|
26
|
+
onInputFilter(event: any): void;
|
27
|
+
protected listar(): any;
|
28
|
+
protected listarCombo(value: any): any;
|
29
|
+
panelHide(event: any): void;
|
30
|
+
get baseInputClass(): string;
|
31
|
+
selectionChange(event: any): void;
|
32
|
+
requestCompleted(): boolean;
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentMultiSelect, never>;
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentMultiSelect, "ng-component", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "filteredOptions": { "alias": "filteredOptions"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; "onPanelHide": "onPanelHide"; "onSelectionValue": "onSelectionValue"; "onClick": "onClick"; }, never, never, false, never>;
|
35
|
+
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
import { ControlValueAccessor } from "@angular/forms";
|
2
|
-
import { Subject } from "rxjs";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare abstract class BaseComponent<T> implements ControlValueAccessor {
|
5
|
-
protected stateChanges: Subject<void>;
|
6
|
-
protected onChange: (value: T) => void;
|
7
|
-
protected onTouched: () => void;
|
8
|
-
protected _value: T;
|
9
|
-
isRequired: boolean;
|
10
|
-
set value(value: T);
|
11
|
-
get value(): T;
|
12
|
-
componentId: string;
|
13
|
-
label: string;
|
14
|
-
disabled: boolean;
|
15
|
-
maxLength: number;
|
16
|
-
registerOnChange(fn: any): void;
|
17
|
-
registerOnTouched(fn: any): void;
|
18
|
-
setDisabledState?(isDisabled: boolean): void;
|
19
|
-
writeValue(value: T): void;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent<any>, "ng-component", never, { "isRequired": { "alias": "required"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, false, never>;
|
22
|
-
}
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
2
|
+
import { Subject } from "rxjs";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class BaseComponent<T> implements ControlValueAccessor {
|
5
|
+
protected stateChanges: Subject<void>;
|
6
|
+
protected onChange: (value: T) => void;
|
7
|
+
protected onTouched: () => void;
|
8
|
+
protected _value: T;
|
9
|
+
isRequired: boolean;
|
10
|
+
set value(value: T);
|
11
|
+
get value(): T;
|
12
|
+
componentId: string;
|
13
|
+
label: string;
|
14
|
+
disabled: boolean;
|
15
|
+
maxLength: number;
|
16
|
+
registerOnChange(fn: any): void;
|
17
|
+
registerOnTouched(fn: any): void;
|
18
|
+
setDisabledState?(isDisabled: boolean): void;
|
19
|
+
writeValue(value: T): void;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent<any>, "ng-component", never, { "isRequired": { "alias": "required"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, false, never>;
|
22
|
+
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
export interface ChartConfig {
|
2
|
-
labels: string[];
|
3
|
-
datasets: ChartDatasetConfig[];
|
4
|
-
}
|
5
|
-
export interface ChartDatasetConfig {
|
6
|
-
label?: string;
|
7
|
-
backgroundColor: string[];
|
8
|
-
hoverBackgroundColor: string[];
|
9
|
-
borderColor?: string[];
|
10
|
-
data: number[];
|
11
|
-
}
|
1
|
+
export interface ChartConfig {
|
2
|
+
labels: string[];
|
3
|
+
datasets: ChartDatasetConfig[];
|
4
|
+
}
|
5
|
+
export interface ChartDatasetConfig {
|
6
|
+
label?: string;
|
7
|
+
backgroundColor: string[];
|
8
|
+
hoverBackgroundColor: string[];
|
9
|
+
borderColor?: string[];
|
10
|
+
data: number[];
|
11
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
export interface chartModel {
|
2
|
-
labels: string;
|
3
|
-
numDatasets: number;
|
4
|
-
labelDataset?: string;
|
5
|
-
datasets: number;
|
6
|
-
backgroundColor: string;
|
7
|
-
hoverBackgroundColor?: string;
|
8
|
-
borderColor?: string;
|
9
|
-
}
|
1
|
+
export interface chartModel {
|
2
|
+
labels: string;
|
3
|
+
numDatasets: number;
|
4
|
+
labelDataset?: string;
|
5
|
+
datasets: number;
|
6
|
+
backgroundColor: string;
|
7
|
+
hoverBackgroundColor?: string;
|
8
|
+
borderColor?: string;
|
9
|
+
}
|
@@ -1,35 +1,35 @@
|
|
1
|
-
export default interface OrgChartConfig {
|
2
|
-
/**
|
3
|
-
* @type {string}
|
4
|
-
* Esse item espera uma string html template
|
5
|
-
* (no formato angular com interpolação de variaveis via {{data.'PROPIEDADE DESEJADA'}})
|
6
|
-
* Todos os dados expostos na propiedade data de
|
7
|
-
* cada item estão acessiveis pelo objeto data;
|
8
|
-
* Para realizar interpolação, referencie data entre {{}} e a chave desejada;
|
9
|
-
** Exemplo: ` <h1> Nome: {{data.nome}} </h1> `
|
10
|
-
*
|
11
|
-
*/
|
12
|
-
templateItem: string;
|
13
|
-
/**
|
14
|
-
* @type {number}
|
15
|
-
* Esse item espera receber a largura media do card, para calculo do icone de collapse
|
16
|
-
*/
|
17
|
-
cardWidht: number;
|
18
|
-
/**
|
19
|
-
* @type {number}
|
20
|
-
* Esse item espera receber a altura media do card, para calculo do icone de collapse
|
21
|
-
*/
|
22
|
-
cardHeight: number;
|
23
|
-
/**
|
24
|
-
* @type {string}
|
25
|
-
* Esse item espera receber a cor das connections
|
26
|
-
* * Default { #d6d6d6 }
|
27
|
-
*/
|
28
|
-
connectionColor?: string;
|
29
|
-
/**
|
30
|
-
* @type {number}
|
31
|
-
* Esse item espera receber a cor das connections
|
32
|
-
* * Default { 2 }
|
33
|
-
*/
|
34
|
-
conectionWidth?: number;
|
35
|
-
}
|
1
|
+
export default interface OrgChartConfig {
|
2
|
+
/**
|
3
|
+
* @type {string}
|
4
|
+
* Esse item espera uma string html template
|
5
|
+
* (no formato angular com interpolação de variaveis via {{data.'PROPIEDADE DESEJADA'}})
|
6
|
+
* Todos os dados expostos na propiedade data de
|
7
|
+
* cada item estão acessiveis pelo objeto data;
|
8
|
+
* Para realizar interpolação, referencie data entre {{}} e a chave desejada;
|
9
|
+
** Exemplo: ` <h1> Nome: {{data.nome}} </h1> `
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
templateItem: string;
|
13
|
+
/**
|
14
|
+
* @type {number}
|
15
|
+
* Esse item espera receber a largura media do card, para calculo do icone de collapse
|
16
|
+
*/
|
17
|
+
cardWidht: number;
|
18
|
+
/**
|
19
|
+
* @type {number}
|
20
|
+
* Esse item espera receber a altura media do card, para calculo do icone de collapse
|
21
|
+
*/
|
22
|
+
cardHeight: number;
|
23
|
+
/**
|
24
|
+
* @type {string}
|
25
|
+
* Esse item espera receber a cor das connections
|
26
|
+
* * Default { #d6d6d6 }
|
27
|
+
*/
|
28
|
+
connectionColor?: string;
|
29
|
+
/**
|
30
|
+
* @type {number}
|
31
|
+
* Esse item espera receber a cor das connections
|
32
|
+
* * Default { 2 }
|
33
|
+
*/
|
34
|
+
conectionWidth?: number;
|
35
|
+
}
|
@@ -1,26 +1,26 @@
|
|
1
|
-
export default interface OrgChartItem {
|
2
|
-
/**
|
3
|
-
* @type {number}
|
4
|
-
* Esse item espera receber o identificador do card
|
5
|
-
*/
|
6
|
-
id: number;
|
7
|
-
/**
|
8
|
-
* @type {number | null}
|
9
|
-
* Esse item espera receber o identificador do card pai desse card
|
10
|
-
* * Aceita null no caso de ser o nó root
|
11
|
-
*
|
12
|
-
* @warning Caso tenha mais de um objeto com {{ parentId: null }} havera um erro de multiplos roots
|
13
|
-
*/
|
14
|
-
parentId: number | null;
|
15
|
-
/**
|
16
|
-
* @type {object}
|
17
|
-
* Esse item espera receber os dados do card
|
18
|
-
* @warning Mantenha a consistencia de dados, caso tente acessar um dado que não exista em outro objeto havera um erro
|
19
|
-
*/
|
20
|
-
data: object;
|
21
|
-
/**
|
22
|
-
* @type {object | undefined}
|
23
|
-
* Esse item espera receber um template personalizado para este nó em especifico
|
24
|
-
*/
|
25
|
-
template?: string;
|
26
|
-
}
|
1
|
+
export default interface OrgChartItem {
|
2
|
+
/**
|
3
|
+
* @type {number}
|
4
|
+
* Esse item espera receber o identificador do card
|
5
|
+
*/
|
6
|
+
id: number;
|
7
|
+
/**
|
8
|
+
* @type {number | null}
|
9
|
+
* Esse item espera receber o identificador do card pai desse card
|
10
|
+
* * Aceita null no caso de ser o nó root
|
11
|
+
*
|
12
|
+
* @warning Caso tenha mais de um objeto com {{ parentId: null }} havera um erro de multiplos roots
|
13
|
+
*/
|
14
|
+
parentId: number | null;
|
15
|
+
/**
|
16
|
+
* @type {object}
|
17
|
+
* Esse item espera receber os dados do card
|
18
|
+
* @warning Mantenha a consistencia de dados, caso tente acessar um dado que não exista em outro objeto havera um erro
|
19
|
+
*/
|
20
|
+
data: object;
|
21
|
+
/**
|
22
|
+
* @type {object | undefined}
|
23
|
+
* Esse item espera receber um template personalizado para este nó em especifico
|
24
|
+
*/
|
25
|
+
template?: string;
|
26
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export interface filtroCombo {
|
2
|
-
id: string;
|
3
|
-
termoPesquisa: string;
|
4
|
-
}
|
1
|
+
export interface filtroCombo {
|
2
|
+
id: string;
|
3
|
+
termoPesquisa: string;
|
4
|
+
}
|
@@ -1,9 +1,11 @@
|
|
1
|
-
export interface ActionItem {
|
2
|
-
label: string;
|
3
|
-
icon?: string;
|
4
|
-
color?: string;
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
export interface ActionItem {
|
2
|
+
label: string;
|
3
|
+
icon?: string;
|
4
|
+
color?: string;
|
5
|
+
colorHover?: string;
|
6
|
+
textColor?: string;
|
7
|
+
disabled?: boolean;
|
8
|
+
visible?: boolean;
|
9
|
+
closeAfterClick?: boolean;
|
10
|
+
command?: (event?: any) => void;
|
11
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { MenuItem } from "primeng/api/menuitem";
|
2
|
-
export interface KvMenuItem extends MenuItem {
|
3
|
-
dynamicfields?: any;
|
4
|
-
[key: string]: any;
|
5
|
-
fieldcondition?: string;
|
6
|
-
showAcoesLote?: boolean;
|
7
|
-
disabled?: any;
|
8
|
-
visible?: any;
|
9
|
-
severity?: 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger';
|
10
|
-
}
|
1
|
+
import { MenuItem } from "primeng/api/menuitem";
|
2
|
+
export interface KvMenuItem extends MenuItem {
|
3
|
+
dynamicfields?: any;
|
4
|
+
[key: string]: any;
|
5
|
+
fieldcondition?: string;
|
6
|
+
showAcoesLote?: boolean;
|
7
|
+
disabled?: any;
|
8
|
+
visible?: any;
|
9
|
+
severity?: 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger';
|
10
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export default interface FieldDropDownControl {
|
2
|
-
fieldControlDropdownService?: any;
|
3
|
-
fieldControlDropdownSource?: any;
|
4
|
-
idobjeto: string;
|
5
|
-
descricaoobjeto: string;
|
6
|
-
}
|
1
|
+
export default interface FieldDropDownControl {
|
2
|
+
fieldControlDropdownService?: any;
|
3
|
+
fieldControlDropdownSource?: any;
|
4
|
+
idobjeto: string;
|
5
|
+
descricaoobjeto: string;
|
6
|
+
}
|
@@ -1,25 +1,25 @@
|
|
1
|
-
export interface TableConfigColumn {
|
2
|
-
position?: number;
|
3
|
-
field: string;
|
4
|
-
header: string;
|
5
|
-
headerTooltip?: string;
|
6
|
-
fieldType?: string;
|
7
|
-
onlyReadField?: boolean;
|
8
|
-
width?: string;
|
9
|
-
pipe?: 'date' | 'decimal' | 'cpfcnpj' | 'telefone' | 'codigofipe' | 'money' | 'percentage';
|
10
|
-
sortable: boolean;
|
11
|
-
grouped?: boolean;
|
12
|
-
centralize?: boolean;
|
13
|
-
expiredDate?: boolean;
|
14
|
-
icon?: string;
|
15
|
-
iconField?: boolean;
|
16
|
-
indIconMaterial?: boolean;
|
17
|
-
checked?: boolean;
|
18
|
-
hideColumn?: boolean;
|
19
|
-
fixedColumn?: boolean;
|
20
|
-
template?: any;
|
21
|
-
align?: string;
|
22
|
-
subtitle?: string;
|
23
|
-
boolean?: boolean;
|
24
|
-
templateOnly?: 'pai' | 'filho';
|
25
|
-
}
|
1
|
+
export interface TableConfigColumn {
|
2
|
+
position?: number;
|
3
|
+
field: string;
|
4
|
+
header: string;
|
5
|
+
headerTooltip?: string;
|
6
|
+
fieldType?: string;
|
7
|
+
onlyReadField?: boolean;
|
8
|
+
width?: string;
|
9
|
+
pipe?: 'date' | 'decimal' | 'cpfcnpj' | 'telefone' | 'codigofipe' | 'money' | 'percentage';
|
10
|
+
sortable: boolean;
|
11
|
+
grouped?: boolean;
|
12
|
+
centralize?: boolean;
|
13
|
+
expiredDate?: boolean;
|
14
|
+
icon?: string;
|
15
|
+
iconField?: boolean;
|
16
|
+
indIconMaterial?: boolean;
|
17
|
+
checked?: boolean;
|
18
|
+
hideColumn?: boolean;
|
19
|
+
fixedColumn?: boolean;
|
20
|
+
template?: any;
|
21
|
+
align?: string;
|
22
|
+
subtitle?: string;
|
23
|
+
boolean?: boolean;
|
24
|
+
templateOnly?: 'pai' | 'filho';
|
25
|
+
}
|
@@ -1,19 +1,19 @@
|
|
1
|
-
import { TableConfigColumn } from './table.config.column';
|
2
|
-
import { KvMenuItem } from './kv-menuitem';
|
3
|
-
export interface TableConfig {
|
4
|
-
actions: KvMenuItem[];
|
5
|
-
actionsLote?: KvMenuItem[];
|
6
|
-
actionsPai?: KvMenuItem[];
|
7
|
-
columns: TableConfigColumn[];
|
8
|
-
dataKey?: string;
|
9
|
-
rows?: any;
|
10
|
-
title?: string;
|
11
|
-
subtitle?: string;
|
12
|
-
lazy: boolean;
|
13
|
-
fieldGroup?: string;
|
14
|
-
enableCation?: boolean;
|
15
|
-
enableFilter?: boolean;
|
16
|
-
enableSelect?: boolean;
|
17
|
-
enableToggleNodes?: boolean;
|
18
|
-
disableControlCheckboxFunction?: (rowData: any, rowNode?: any) => boolean;
|
19
|
-
}
|
1
|
+
import { TableConfigColumn } from './table.config.column';
|
2
|
+
import { KvMenuItem } from './kv-menuitem';
|
3
|
+
export interface TableConfig {
|
4
|
+
actions: KvMenuItem[];
|
5
|
+
actionsLote?: KvMenuItem[];
|
6
|
+
actionsPai?: KvMenuItem[];
|
7
|
+
columns: TableConfigColumn[];
|
8
|
+
dataKey?: string;
|
9
|
+
rows?: any;
|
10
|
+
title?: string;
|
11
|
+
subtitle?: string;
|
12
|
+
lazy: boolean;
|
13
|
+
fieldGroup?: string;
|
14
|
+
enableCation?: boolean;
|
15
|
+
enableFilter?: boolean;
|
16
|
+
enableSelect?: boolean;
|
17
|
+
enableToggleNodes?: boolean;
|
18
|
+
disableControlCheckboxFunction?: (rowData: any, rowNode?: any) => boolean;
|
19
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export declare class TablePaginate {
|
2
|
-
paginaInicial: number;
|
3
|
-
tamanhoPagina: number;
|
4
|
-
termoPesquisa: string;
|
5
|
-
ordenacao: string;
|
6
|
-
}
|
1
|
+
export declare class TablePaginate {
|
2
|
+
paginaInicial: number;
|
3
|
+
tamanhoPagina: number;
|
4
|
+
termoPesquisa: string;
|
5
|
+
ordenacao: string;
|
6
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { TableConfig } from "./table.config";
|
2
|
-
import { TableEditConfigColumn } from "./tableedit.config.column";
|
3
|
-
export default interface TableEditConfig extends TableConfig {
|
4
|
-
columns: TableEditConfigColumn[];
|
5
|
-
dataKey: string;
|
6
|
-
reorderableColumns?: boolean;
|
7
|
-
disableEditRowFunction?: (rowData: any, rowNode?: any) => boolean;
|
8
|
-
}
|
1
|
+
import { TableConfig } from "./table.config";
|
2
|
+
import { TableEditConfigColumn } from "./tableedit.config.column";
|
3
|
+
export default interface TableEditConfig extends TableConfig {
|
4
|
+
columns: TableEditConfigColumn[];
|
5
|
+
dataKey: string;
|
6
|
+
reorderableColumns?: boolean;
|
7
|
+
disableEditRowFunction?: (rowData: any, rowNode?: any) => boolean;
|
8
|
+
}
|