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
package/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
/// <amd-module name="keevo-components" />
|
5
|
-
export * from './public-api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
/// <amd-module name="keevo-components" />
|
5
|
+
export * from './public-api';
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class BaseComponentButton {
|
4
|
-
icon: string;
|
5
|
-
label: string;
|
6
|
-
loading: boolean;
|
7
|
-
disabled: boolean;
|
8
|
-
color: string;
|
9
|
-
onClick: EventEmitter<any>;
|
10
|
-
constructor();
|
11
|
-
click(event: any): void;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentButton, never>;
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentButton, "ng-component", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
14
|
-
}
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class BaseComponentButton {
|
4
|
+
icon: string;
|
5
|
+
label: string;
|
6
|
+
loading: boolean;
|
7
|
+
disabled: boolean;
|
8
|
+
color: string;
|
9
|
+
onClick: EventEmitter<any>;
|
10
|
+
constructor();
|
11
|
+
click(event: any): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentButton, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentButton, "ng-component", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
14
|
+
}
|
@@ -1,40 +1,40 @@
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
2
|
-
import { Observable } from "rxjs";
|
3
|
-
import { chartModel } from "../components/chart/chart.model";
|
4
|
-
import { ChartConfig } from "../components/chart/chart.config";
|
5
|
-
import { KvChartComponent } from "../../components/kv-chart/kv-chart.component";
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare abstract class BaseChartComponent implements OnInit {
|
8
|
-
chartConfig: ChartConfig;
|
9
|
-
selectedData: number;
|
10
|
-
enablePeriodos: number[];
|
11
|
-
periodos: {
|
12
|
-
Ultimos180Dias: number;
|
13
|
-
Ultimos120Dias: number;
|
14
|
-
Ultimos90Dias: number;
|
15
|
-
Ultimos60Dias: number;
|
16
|
-
Ultimos45Dias: number;
|
17
|
-
Ultimos30Dias: number;
|
18
|
-
Ultimos15Dias: number;
|
19
|
-
Ultimos7Dias: number;
|
20
|
-
DataAtual: number;
|
21
|
-
Proximos7Dias: number;
|
22
|
-
Proximos15Dias: number;
|
23
|
-
Proximos30Dias: number;
|
24
|
-
Proximos45Dias: number;
|
25
|
-
Proximos60Dias: number;
|
26
|
-
Proximos90Dias: number;
|
27
|
-
Proximos120Dias: number;
|
28
|
-
Proximos180Dias: number;
|
29
|
-
};
|
30
|
-
chartComponent?: KvChartComponent;
|
31
|
-
onPrintReport: EventEmitter<any>;
|
32
|
-
constructor();
|
33
|
-
protected changeData(event: any): void;
|
34
|
-
ngOnInit(): void;
|
35
|
-
abstract loadData(): void;
|
36
|
-
protected loadGraphic(obs: Observable<any>): void;
|
37
|
-
protected assembleGraphic(data: chartModel[]): ChartConfig;
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "ng-component", never, {}, { "onPrintReport": "onPrintReport"; }, never, never, false, never>;
|
40
|
-
}
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
2
|
+
import { Observable } from "rxjs";
|
3
|
+
import { chartModel } from "../components/chart/chart.model";
|
4
|
+
import { ChartConfig } from "../components/chart/chart.config";
|
5
|
+
import { KvChartComponent } from "../../components/kv-chart/kv-chart.component";
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare abstract class BaseChartComponent implements OnInit {
|
8
|
+
chartConfig: ChartConfig;
|
9
|
+
selectedData: number;
|
10
|
+
enablePeriodos: number[];
|
11
|
+
periodos: {
|
12
|
+
Ultimos180Dias: number;
|
13
|
+
Ultimos120Dias: number;
|
14
|
+
Ultimos90Dias: number;
|
15
|
+
Ultimos60Dias: number;
|
16
|
+
Ultimos45Dias: number;
|
17
|
+
Ultimos30Dias: number;
|
18
|
+
Ultimos15Dias: number;
|
19
|
+
Ultimos7Dias: number;
|
20
|
+
DataAtual: number;
|
21
|
+
Proximos7Dias: number;
|
22
|
+
Proximos15Dias: number;
|
23
|
+
Proximos30Dias: number;
|
24
|
+
Proximos45Dias: number;
|
25
|
+
Proximos60Dias: number;
|
26
|
+
Proximos90Dias: number;
|
27
|
+
Proximos120Dias: number;
|
28
|
+
Proximos180Dias: number;
|
29
|
+
};
|
30
|
+
chartComponent?: KvChartComponent;
|
31
|
+
onPrintReport: EventEmitter<any>;
|
32
|
+
constructor();
|
33
|
+
protected changeData(event: any): void;
|
34
|
+
ngOnInit(): void;
|
35
|
+
abstract loadData(): void;
|
36
|
+
protected loadGraphic(obs: Observable<any>): void;
|
37
|
+
protected assembleGraphic(data: chartModel[]): ChartConfig;
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "ng-component", never, {}, { "onPrintReport": "onPrintReport"; }, never, never, false, never>;
|
40
|
+
}
|
@@ -1,145 +1,145 @@
|
|
1
|
-
import { ActivatedRoute, Router } from "@angular/router";
|
2
|
-
import { OnDestroy, OnInit } from "@angular/core";
|
3
|
-
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
|
4
|
-
import { FormGroup, ValidatorFn } from "@angular/forms";
|
5
|
-
import { Observable } from "rxjs";
|
6
|
-
import { ActionItem } from "../components/table/action-item";
|
7
|
-
import { BaseComponentCrud } from "./base-component-crud";
|
8
|
-
import { NotificationService } from "../services/notification.service";
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
export interface DadosTela {
|
11
|
-
subTituloForm: string | undefined;
|
12
|
-
tituloForm: string | undefined;
|
13
|
-
rotaListar: string;
|
14
|
-
mensagemValidacao: boolean;
|
15
|
-
}
|
16
|
-
export declare abstract class BaseComponentCrudForm extends BaseComponentCrud implements OnInit, OnDestroy {
|
17
|
-
protected activatedRoute: ActivatedRoute;
|
18
|
-
protected dynamicDialogRef: DynamicDialogRef;
|
19
|
-
protected dynamicDialogConfig: DynamicDialogConfig;
|
20
|
-
protected router: Router;
|
21
|
-
protected isAccordionExpanded: boolean;
|
22
|
-
protected isNewRegistry: boolean;
|
23
|
-
protected isSaveLoading: boolean;
|
24
|
-
protected isView: boolean;
|
25
|
-
protected formGroup: FormGroup;
|
26
|
-
protected actions: ActionItem[];
|
27
|
-
protected dadosTela: DadosTela | undefined;
|
28
|
-
protected popup: boolean;
|
29
|
-
protected registry: any;
|
30
|
-
private onSetFormValues;
|
31
|
-
constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router);
|
32
|
-
/**
|
33
|
-
* Método disparado para configuração do form
|
34
|
-
*/
|
35
|
-
abstract configureForm(): void;
|
36
|
-
/**
|
37
|
-
* Método disparado para o carregamento do form
|
38
|
-
* @param id
|
39
|
-
*/
|
40
|
-
abstract loadForm(id: any): void;
|
41
|
-
/**
|
42
|
-
* Método disparado para salvamento dos dados
|
43
|
-
*/
|
44
|
-
abstract save(): void;
|
45
|
-
/**
|
46
|
-
* Método disparado para tratamento das notificações do backend
|
47
|
-
* @param err - Notificação
|
48
|
-
*/
|
49
|
-
protected backendError(err: any): void;
|
50
|
-
/**
|
51
|
-
* Método disparado ao clicar no botão de cancelamento
|
52
|
-
*/
|
53
|
-
protected cancel(): void;
|
54
|
-
/**
|
55
|
-
* Verifica se houveram alterações nos componentes do formControl
|
56
|
-
* @param controls - Nomes do controles no formGroup
|
57
|
-
* @returns Observable
|
58
|
-
*/
|
59
|
-
protected detectFormControlChanges(controls: Array<string>): Observable<any>;
|
60
|
-
/**
|
61
|
-
* Método responsável por desabilitar um componente
|
62
|
-
* @param controlName - Nome do controle no formGroup
|
63
|
-
*/
|
64
|
-
protected disableComponent(controlName: string): void;
|
65
|
-
/**
|
66
|
-
* Método responsável por limpar e desabilitar um componente
|
67
|
-
* @param controlName - Nome do controle no formGroup
|
68
|
-
* @param value - Valor default
|
69
|
-
*/
|
70
|
-
protected disableAndClearComponent(controlName: string, value?: any): void;
|
71
|
-
/**
|
72
|
-
* Método responsável por habilitar um componente
|
73
|
-
* @param controlName - Nome do controle no formGroup
|
74
|
-
*/
|
75
|
-
protected enableComponent(controName: string): void;
|
76
|
-
/**
|
77
|
-
* Método que retorna o valor de um componente
|
78
|
-
* @param controlName - Nome do controle no formGroup
|
79
|
-
* @returns - Valor
|
80
|
-
*/
|
81
|
-
protected getFormValue<T>(controlName: string): T;
|
82
|
-
/**
|
83
|
-
* Verifica se o componente possui erro
|
84
|
-
* @param controlName - Nome do controle no formGroup
|
85
|
-
*/
|
86
|
-
protected hasControlError(controlName: string, errorCode?: string): boolean;
|
87
|
-
/**
|
88
|
-
* Seta inconsistências para o fomulário
|
89
|
-
* @param notification - Lista de notificações
|
90
|
-
*/
|
91
|
-
protected invalidForm(notification?: any): void;
|
92
|
-
/**
|
93
|
-
* Tratamento de inconsistências do formulário
|
94
|
-
*/
|
95
|
-
protected invalidateForm(): void;
|
96
|
-
/**
|
97
|
-
* Método responsável pelo carregamento da tela
|
98
|
-
* @param obs - Observable responsável pelo salvamento dos dados
|
99
|
-
*/
|
100
|
-
loadData<T>(obs: Observable<any>): void;
|
101
|
-
loadDataAsync<T>(obs: Observable<any>): Promise<void>;
|
102
|
-
/**
|
103
|
-
* Método disparado para carregamento de grids (Disparado após o loadData)
|
104
|
-
*/
|
105
|
-
loadGrids(): void;
|
106
|
-
/**
|
107
|
-
* Método disparado para retornar a lista
|
108
|
-
*/
|
109
|
-
protected navigateList(id?: any): void;
|
110
|
-
ngOnDestroy(): void;
|
111
|
-
ngOnInit(): void;
|
112
|
-
/**
|
113
|
-
* Método disparado para salvar dados
|
114
|
-
* @param obs - Observable responsável pelo salvamento dos dados
|
115
|
-
*/
|
116
|
-
protected saveData(obs: Observable<any>): void;
|
117
|
-
/**
|
118
|
-
* Método se atualiza o valor de um componente do formGroup
|
119
|
-
* @param controName - Nome do controle
|
120
|
-
* @param value - Valor para atualização
|
121
|
-
*/
|
122
|
-
protected setControlValue(controName: string, value: any): void;
|
123
|
-
/**
|
124
|
-
* Atualiza valores dos componentes do formGroup
|
125
|
-
* @param values - Valores para atualização
|
126
|
-
*/
|
127
|
-
protected setFormValues(values: any): void;
|
128
|
-
/**
|
129
|
-
* Seta o título do popup
|
130
|
-
*/
|
131
|
-
private setTitlePopup;
|
132
|
-
/**
|
133
|
-
* Atualiza o validador de um componente do formGroup
|
134
|
-
* @param controName - Nome do controle
|
135
|
-
* @param validators - Regra de validação
|
136
|
-
*/
|
137
|
-
protected setValidators(controName: string, validators: ValidatorFn | ValidatorFn[] | null): void;
|
138
|
-
/**
|
139
|
-
* Dispara os métodos de validações do formulário
|
140
|
-
* @returns - True/False
|
141
|
-
*/
|
142
|
-
protected validateForm(): boolean;
|
143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudForm, never>;
|
144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudForm, "ng-component", never, {}, {}, never, never, false, never>;
|
145
|
-
}
|
1
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
2
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
3
|
+
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
|
4
|
+
import { FormGroup, ValidatorFn } from "@angular/forms";
|
5
|
+
import { Observable } from "rxjs";
|
6
|
+
import { ActionItem } from "../components/table/action-item";
|
7
|
+
import { BaseComponentCrud } from "./base-component-crud";
|
8
|
+
import { NotificationService } from "../services/notification.service";
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export interface DadosTela {
|
11
|
+
subTituloForm: string | undefined;
|
12
|
+
tituloForm: string | undefined;
|
13
|
+
rotaListar: string;
|
14
|
+
mensagemValidacao: boolean;
|
15
|
+
}
|
16
|
+
export declare abstract class BaseComponentCrudForm extends BaseComponentCrud implements OnInit, OnDestroy {
|
17
|
+
protected activatedRoute: ActivatedRoute;
|
18
|
+
protected dynamicDialogRef: DynamicDialogRef;
|
19
|
+
protected dynamicDialogConfig: DynamicDialogConfig;
|
20
|
+
protected router: Router;
|
21
|
+
protected isAccordionExpanded: boolean;
|
22
|
+
protected isNewRegistry: boolean;
|
23
|
+
protected isSaveLoading: boolean;
|
24
|
+
protected isView: boolean;
|
25
|
+
protected formGroup: FormGroup;
|
26
|
+
protected actions: ActionItem[];
|
27
|
+
protected dadosTela: DadosTela | undefined;
|
28
|
+
protected popup: boolean;
|
29
|
+
protected registry: any;
|
30
|
+
private onSetFormValues;
|
31
|
+
constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router);
|
32
|
+
/**
|
33
|
+
* Método disparado para configuração do form
|
34
|
+
*/
|
35
|
+
abstract configureForm(): void;
|
36
|
+
/**
|
37
|
+
* Método disparado para o carregamento do form
|
38
|
+
* @param id
|
39
|
+
*/
|
40
|
+
abstract loadForm(id: any): void;
|
41
|
+
/**
|
42
|
+
* Método disparado para salvamento dos dados
|
43
|
+
*/
|
44
|
+
abstract save(): void;
|
45
|
+
/**
|
46
|
+
* Método disparado para tratamento das notificações do backend
|
47
|
+
* @param err - Notificação
|
48
|
+
*/
|
49
|
+
protected backendError(err: any): void;
|
50
|
+
/**
|
51
|
+
* Método disparado ao clicar no botão de cancelamento
|
52
|
+
*/
|
53
|
+
protected cancel(): void;
|
54
|
+
/**
|
55
|
+
* Verifica se houveram alterações nos componentes do formControl
|
56
|
+
* @param controls - Nomes do controles no formGroup
|
57
|
+
* @returns Observable
|
58
|
+
*/
|
59
|
+
protected detectFormControlChanges(controls: Array<string>): Observable<any>;
|
60
|
+
/**
|
61
|
+
* Método responsável por desabilitar um componente
|
62
|
+
* @param controlName - Nome do controle no formGroup
|
63
|
+
*/
|
64
|
+
protected disableComponent(controlName: string): void;
|
65
|
+
/**
|
66
|
+
* Método responsável por limpar e desabilitar um componente
|
67
|
+
* @param controlName - Nome do controle no formGroup
|
68
|
+
* @param value - Valor default
|
69
|
+
*/
|
70
|
+
protected disableAndClearComponent(controlName: string, value?: any): void;
|
71
|
+
/**
|
72
|
+
* Método responsável por habilitar um componente
|
73
|
+
* @param controlName - Nome do controle no formGroup
|
74
|
+
*/
|
75
|
+
protected enableComponent(controName: string): void;
|
76
|
+
/**
|
77
|
+
* Método que retorna o valor de um componente
|
78
|
+
* @param controlName - Nome do controle no formGroup
|
79
|
+
* @returns - Valor
|
80
|
+
*/
|
81
|
+
protected getFormValue<T>(controlName: string): T;
|
82
|
+
/**
|
83
|
+
* Verifica se o componente possui erro
|
84
|
+
* @param controlName - Nome do controle no formGroup
|
85
|
+
*/
|
86
|
+
protected hasControlError(controlName: string, errorCode?: string): boolean;
|
87
|
+
/**
|
88
|
+
* Seta inconsistências para o fomulário
|
89
|
+
* @param notification - Lista de notificações
|
90
|
+
*/
|
91
|
+
protected invalidForm(notification?: any): void;
|
92
|
+
/**
|
93
|
+
* Tratamento de inconsistências do formulário
|
94
|
+
*/
|
95
|
+
protected invalidateForm(): void;
|
96
|
+
/**
|
97
|
+
* Método responsável pelo carregamento da tela
|
98
|
+
* @param obs - Observable responsável pelo salvamento dos dados
|
99
|
+
*/
|
100
|
+
loadData<T>(obs: Observable<any>): void;
|
101
|
+
loadDataAsync<T>(obs: Observable<any>): Promise<void>;
|
102
|
+
/**
|
103
|
+
* Método disparado para carregamento de grids (Disparado após o loadData)
|
104
|
+
*/
|
105
|
+
loadGrids(): void;
|
106
|
+
/**
|
107
|
+
* Método disparado para retornar a lista
|
108
|
+
*/
|
109
|
+
protected navigateList(id?: any): void;
|
110
|
+
ngOnDestroy(): void;
|
111
|
+
ngOnInit(): void;
|
112
|
+
/**
|
113
|
+
* Método disparado para salvar dados
|
114
|
+
* @param obs - Observable responsável pelo salvamento dos dados
|
115
|
+
*/
|
116
|
+
protected saveData(obs: Observable<any>): void;
|
117
|
+
/**
|
118
|
+
* Método se atualiza o valor de um componente do formGroup
|
119
|
+
* @param controName - Nome do controle
|
120
|
+
* @param value - Valor para atualização
|
121
|
+
*/
|
122
|
+
protected setControlValue(controName: string, value: any): void;
|
123
|
+
/**
|
124
|
+
* Atualiza valores dos componentes do formGroup
|
125
|
+
* @param values - Valores para atualização
|
126
|
+
*/
|
127
|
+
protected setFormValues(values: any): void;
|
128
|
+
/**
|
129
|
+
* Seta o título do popup
|
130
|
+
*/
|
131
|
+
private setTitlePopup;
|
132
|
+
/**
|
133
|
+
* Atualiza o validador de um componente do formGroup
|
134
|
+
* @param controName - Nome do controle
|
135
|
+
* @param validators - Regra de validação
|
136
|
+
*/
|
137
|
+
protected setValidators(controName: string, validators: ValidatorFn | ValidatorFn[] | null): void;
|
138
|
+
/**
|
139
|
+
* Dispara os métodos de validações do formulário
|
140
|
+
* @returns - True/False
|
141
|
+
*/
|
142
|
+
protected validateForm(): boolean;
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudForm, never>;
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudForm, "ng-component", never, {}, {}, never, never, false, never>;
|
145
|
+
}
|
@@ -1,63 +1,63 @@
|
|
1
|
-
import { OnInit } from "@angular/core";
|
2
|
-
import { DialogService } from "primeng/dynamicdialog";
|
3
|
-
import { Router } from "@angular/router";
|
4
|
-
import { BaseComponentCrud } from "./base-component-crud";
|
5
|
-
import { TablePaginate } from "../components/table/table.paginate";
|
6
|
-
import { TableConfig } from "../components/table/table.config";
|
7
|
-
import { ActionItem } from "../components/table/action-item";
|
8
|
-
import { NotificationService } from "../services/notification.service";
|
9
|
-
import { Observable } from "rxjs";
|
10
|
-
import * as i0 from "@angular/core";
|
11
|
-
export declare abstract class BaseComponentCrudList extends BaseComponentCrud implements OnInit {
|
12
|
-
router: Router;
|
13
|
-
dataSource: any;
|
14
|
-
selectedItem: any;
|
15
|
-
tableConfig: TableConfig;
|
16
|
-
totalRecords: number;
|
17
|
-
actionsPageList: ActionItem[];
|
18
|
-
constructor(dialogService: DialogService, notificationService: NotificationService, router: Router);
|
19
|
-
ngOnInit(): void;
|
20
|
-
/**
|
21
|
-
* Método disparado para configuração das tabelas do componente de lista
|
22
|
-
*/
|
23
|
-
abstract configureTable(): void;
|
24
|
-
/**
|
25
|
-
* Método disparado para edição de registros
|
26
|
-
* @param registry - Registro que está sendo editado
|
27
|
-
*
|
28
|
-
*/
|
29
|
-
abstract edit(registry: any): void;
|
30
|
-
/**
|
31
|
-
* Método disparado para carregamento dos filtros da tela
|
32
|
-
*/
|
33
|
-
abstract loadFilters(): void;
|
34
|
-
/**
|
35
|
-
* Método disparado para carregar a tabela do componente de lista
|
36
|
-
* @param tablePaginate - Classe dos dados da paginação da tabela
|
37
|
-
*/
|
38
|
-
abstract loadTable(tablePaginate: TablePaginate): void;
|
39
|
-
/**
|
40
|
-
* Método disparado ao clicar no botão de novo registro
|
41
|
-
*/
|
42
|
-
abstract newRegistry(): void;
|
43
|
-
/**
|
44
|
-
* Método que seta o registro selecionado na tabela
|
45
|
-
* @param event - Registro
|
46
|
-
*/
|
47
|
-
protected activeItem(event: any): void;
|
48
|
-
/**
|
49
|
-
* Método que dispara o carregamento da tabela
|
50
|
-
* @param obs - Observable de carregamento dos dados
|
51
|
-
*/
|
52
|
-
protected loadData(obs: Observable<any>): void;
|
53
|
-
/**
|
54
|
-
* Método que dispara a paginação
|
55
|
-
*/
|
56
|
-
protected paginate(event: any): void;
|
57
|
-
/**
|
58
|
-
* Método que dispara a atualização da página inteira
|
59
|
-
*/
|
60
|
-
protected refresh(): void;
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudList, never>;
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudList, "ng-component", never, {}, {}, never, never, false, never>;
|
63
|
-
}
|
1
|
+
import { OnInit } from "@angular/core";
|
2
|
+
import { DialogService } from "primeng/dynamicdialog";
|
3
|
+
import { Router } from "@angular/router";
|
4
|
+
import { BaseComponentCrud } from "./base-component-crud";
|
5
|
+
import { TablePaginate } from "../components/table/table.paginate";
|
6
|
+
import { TableConfig } from "../components/table/table.config";
|
7
|
+
import { ActionItem } from "../components/table/action-item";
|
8
|
+
import { NotificationService } from "../services/notification.service";
|
9
|
+
import { Observable } from "rxjs";
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
export declare abstract class BaseComponentCrudList extends BaseComponentCrud implements OnInit {
|
12
|
+
router: Router;
|
13
|
+
dataSource: any;
|
14
|
+
selectedItem: any;
|
15
|
+
tableConfig: TableConfig;
|
16
|
+
totalRecords: number;
|
17
|
+
actionsPageList: ActionItem[];
|
18
|
+
constructor(dialogService: DialogService, notificationService: NotificationService, router: Router);
|
19
|
+
ngOnInit(): void;
|
20
|
+
/**
|
21
|
+
* Método disparado para configuração das tabelas do componente de lista
|
22
|
+
*/
|
23
|
+
abstract configureTable(): void;
|
24
|
+
/**
|
25
|
+
* Método disparado para edição de registros
|
26
|
+
* @param registry - Registro que está sendo editado
|
27
|
+
*
|
28
|
+
*/
|
29
|
+
abstract edit(registry: any): void;
|
30
|
+
/**
|
31
|
+
* Método disparado para carregamento dos filtros da tela
|
32
|
+
*/
|
33
|
+
abstract loadFilters(): void;
|
34
|
+
/**
|
35
|
+
* Método disparado para carregar a tabela do componente de lista
|
36
|
+
* @param tablePaginate - Classe dos dados da paginação da tabela
|
37
|
+
*/
|
38
|
+
abstract loadTable(tablePaginate: TablePaginate): void;
|
39
|
+
/**
|
40
|
+
* Método disparado ao clicar no botão de novo registro
|
41
|
+
*/
|
42
|
+
abstract newRegistry(): void;
|
43
|
+
/**
|
44
|
+
* Método que seta o registro selecionado na tabela
|
45
|
+
* @param event - Registro
|
46
|
+
*/
|
47
|
+
protected activeItem(event: any): void;
|
48
|
+
/**
|
49
|
+
* Método que dispara o carregamento da tabela
|
50
|
+
* @param obs - Observable de carregamento dos dados
|
51
|
+
*/
|
52
|
+
protected loadData(obs: Observable<any>): void;
|
53
|
+
/**
|
54
|
+
* Método que dispara a paginação
|
55
|
+
*/
|
56
|
+
protected paginate(event: any): void;
|
57
|
+
/**
|
58
|
+
* Método que dispara a atualização da página inteira
|
59
|
+
*/
|
60
|
+
protected refresh(): void;
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudList, never>;
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudList, "ng-component", never, {}, {}, never, never, false, never>;
|
63
|
+
}
|
@@ -1,36 +1,36 @@
|
|
1
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
2
|
-
import { Type } from "@angular/core";
|
3
|
-
import { paramsDialog } from "../services/form.service";
|
4
|
-
import { NotificationService } from '../services/notification.service';
|
5
|
-
import { Observable } from 'rxjs';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare abstract class BaseComponentCrud {
|
8
|
-
dialogService: DialogService;
|
9
|
-
notificationService: NotificationService;
|
10
|
-
isReport: boolean;
|
11
|
-
itemsReport: any;
|
12
|
-
constructor(dialogService: DialogService, notificationService: NotificationService);
|
13
|
-
/**
|
14
|
-
* Fecha um relatório
|
15
|
-
*/
|
16
|
-
closeReport(): void;
|
17
|
-
/**
|
18
|
-
* Abre um form dialog
|
19
|
-
* @param componentType - Componente que será renderizado
|
20
|
-
* @param callBackFunction - Função de callback que deverá ser chamada após o fechamento do dialog
|
21
|
-
* @param paramsDialog - Parâmetros do dialog
|
22
|
-
*/
|
23
|
-
protected openDialog(componentType: Type<any>, callBackFunction: Function, paramsDialog?: paramsDialog): void;
|
24
|
-
/**
|
25
|
-
* Imprime um relatório na tela
|
26
|
-
* @param obs - Observable com o carregamento do relatório
|
27
|
-
*/
|
28
|
-
protected printReportFilter(obs: Observable<any>): void;
|
29
|
-
/**
|
30
|
-
* Exibe um toast com um erro
|
31
|
-
* @param err - Erro
|
32
|
-
*/
|
33
|
-
protected toastError(err: any): void;
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrud, never>;
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrud, "ng-component", never, {}, {}, never, never, false, never>;
|
36
|
-
}
|
1
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
2
|
+
import { Type } from "@angular/core";
|
3
|
+
import { paramsDialog } from "../services/form.service";
|
4
|
+
import { NotificationService } from '../services/notification.service';
|
5
|
+
import { Observable } from 'rxjs';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare abstract class BaseComponentCrud {
|
8
|
+
dialogService: DialogService;
|
9
|
+
notificationService: NotificationService;
|
10
|
+
isReport: boolean;
|
11
|
+
itemsReport: any;
|
12
|
+
constructor(dialogService: DialogService, notificationService: NotificationService);
|
13
|
+
/**
|
14
|
+
* Fecha um relatório
|
15
|
+
*/
|
16
|
+
closeReport(): void;
|
17
|
+
/**
|
18
|
+
* Abre um form dialog
|
19
|
+
* @param componentType - Componente que será renderizado
|
20
|
+
* @param callBackFunction - Função de callback que deverá ser chamada após o fechamento do dialog
|
21
|
+
* @param paramsDialog - Parâmetros do dialog
|
22
|
+
*/
|
23
|
+
protected openDialog(componentType: Type<any>, callBackFunction: Function, paramsDialog?: paramsDialog): void;
|
24
|
+
/**
|
25
|
+
* Imprime um relatório na tela
|
26
|
+
* @param obs - Observable com o carregamento do relatório
|
27
|
+
*/
|
28
|
+
protected printReportFilter(obs: Observable<any>): void;
|
29
|
+
/**
|
30
|
+
* Exibe um toast com um erro
|
31
|
+
* @param err - Erro
|
32
|
+
*/
|
33
|
+
protected toastError(err: any): void;
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrud, never>;
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrud, "ng-component", never, {}, {}, never, never, false, never>;
|
36
|
+
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
2
|
-
import { ComponentService } from "../services/component.service";
|
3
|
-
import { DialogService } from "primeng/dynamicdialog";
|
4
|
-
import { FormGroup } from "@angular/forms";
|
5
|
-
import { BaseComponentDropDown } from "./base-component-dropdown";
|
6
|
-
import { KvDropdownComponent } from "../../components/kv-inputs/kv-dropdown/kv-dropdown.component";
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare abstract class BaseComponentDropDownExternal extends BaseComponentDropDown implements AfterViewInit {
|
9
|
-
formGroup: FormGroup;
|
10
|
-
dropDownComponent: KvDropdownComponent;
|
11
|
-
constructor(componentService: ComponentService, dialogService: DialogService);
|
12
|
-
ngAfterViewInit(): void;
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDownExternal, never>;
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDownExternal, "ng-component", never, { "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
15
|
-
}
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
2
|
+
import { ComponentService } from "../services/component.service";
|
3
|
+
import { DialogService } from "primeng/dynamicdialog";
|
4
|
+
import { FormGroup } from "@angular/forms";
|
5
|
+
import { BaseComponentDropDown } from "./base-component-dropdown";
|
6
|
+
import { KvDropdownComponent } from "../../components/kv-inputs/kv-dropdown/kv-dropdown.component";
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare abstract class BaseComponentDropDownExternal extends BaseComponentDropDown implements AfterViewInit {
|
9
|
+
formGroup: FormGroup;
|
10
|
+
dropDownComponent: KvDropdownComponent;
|
11
|
+
constructor(componentService: ComponentService, dialogService: DialogService);
|
12
|
+
ngAfterViewInit(): void;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDownExternal, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDownExternal, "ng-component", never, { "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
15
|
+
}
|