keevo-components 1.8.119 → 1.8.121
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/lib/api/base-components/base-component-dropdown-external.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-input.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +1 -1
- package/esm2022/lib/api/components/chart/orchart.config.mjs +1 -1
- package/esm2022/lib/api/components/chart/orchart.item.mjs +1 -1
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +1 -1
- package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
- package/esm2022/lib/api/directives/template/template.directive.mjs +1 -1
- package/esm2022/lib/api/helpers/component-providers.mjs +1 -1
- package/esm2022/lib/api/helpers/keevo-validators.mjs +1 -1
- package/esm2022/lib/api/helpers/translate-primeng.mjs +1 -1
- package/esm2022/lib/api/modules/primeng.module.mjs +1 -1
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +1 -1
- package/esm2022/lib/api/pipes/mask.pipe.mjs +1 -1
- package/esm2022/lib/api/pipes/pipes.module.mjs +1 -1
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +1 -1
- package/esm2022/lib/api/services/base.api.service.mjs +1 -1
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +1 -1
- package/esm2022/lib/api/services/docs.service.mjs +1 -1
- package/esm2022/lib/api/services/imagens.service.mjs +1 -1
- package/esm2022/lib/components/keevo-components.module.mjs +1 -1
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +3 -3
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +1 -1
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +1 -1
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -3
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +1 -1
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +1 -1
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +1 -1
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +3 -3
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +1 -1
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +1 -1
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +3 -3
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +1 -1
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +3 -3
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +1 -1
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +3 -3
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +1 -1
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +3 -3
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +1 -1
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +3 -3
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +1 -1
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +1 -1
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +3 -3
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +1 -1
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -3
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +1 -1
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +3 -3
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +1 -1
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +55 -0
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +24 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +3 -3
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +1 -1
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +12 -10
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +1 -1
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +3 -3
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +1 -1
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +1 -1
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +1 -1
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +3 -3
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +1 -1
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/keevo-components.mjs +158 -86
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-report/kv-report.component.d.ts +19 -0
- package/lib/components/kv-report/kv-report.module.d.ts +8 -0
- package/lib/components/kv-table/kv-table.component.d.ts +7 -6
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
- package/esm2022/lib/api/base-components/base-component-button.mjs +0 -39
- package/esm2022/lib/api/base-components/base-component-chart.mjs +0 -92
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +0 -298
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +0 -78
- package/esm2022/lib/api/base-components/base-component-crud.mjs +0 -65
- package/esm2022/lib/api/base-components/base-component.mjs +0 -51
- package/esm2022/lib/api/components/chart/chart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/chart.model.mjs +0 -2
- package/esm2022/lib/api/components/table/action-item.mjs +0 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +0 -46
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.column.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.mjs +0 -2
- package/esm2022/lib/api/components/table/table.paginate.mjs +0 -9
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +0 -3
- package/esm2022/lib/api/services/component.service.mjs +0 -27
- package/esm2022/lib/api/services/form.service.mjs +0 -85
- package/esm2022/lib/api/services/notification.service.mjs +0 -67
- package/esm2022/lib/api/services/object.service.mjs +0 -39
- package/esm2022/lib/api/types/severity.mjs +0 -2
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +0 -145
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +0 -26
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +0 -29
- package/lib/api/base-components/base-component-button.d.ts +0 -15
- package/lib/api/base-components/base-component-chart.d.ts +0 -40
- package/lib/api/base-components/base-component-crud-form.d.ts +0 -145
- package/lib/api/base-components/base-component-crud-list.d.ts +0 -64
- package/lib/api/base-components/base-component-crud.d.ts +0 -36
- package/lib/api/base-components/base-component.d.ts +0 -22
- package/lib/api/components/chart/chart.config.d.ts +0 -11
- package/lib/api/components/chart/chart.model.d.ts +0 -9
- package/lib/api/components/table/action-item.d.ts +0 -11
- package/lib/api/components/table/kv-menuitem.d.ts +0 -152
- package/lib/api/components/table/table-dropdown-control.d.ts +0 -6
- package/lib/api/components/table/table.config.column.d.ts +0 -25
- package/lib/api/components/table/table.config.d.ts +0 -31
- package/lib/api/components/table/table.paginate.d.ts +0 -6
- package/lib/api/components/tree-table/tree-table.config.d.ts +0 -28
- package/lib/api/services/component.service.d.ts +0 -11
- package/lib/api/services/form.service.d.ts +0 -28
- package/lib/api/services/notification.service.d.ts +0 -25
- package/lib/api/services/object.service.d.ts +0 -9
- package/lib/api/types/severity.d.ts +0 -2
- package/lib/components/kv-chart/kv-chart.component.d.ts +0 -56
- package/lib/components/kv-error/kv-error.component.d.ts +0 -12
- package/lib/components/kv-loader/kv-loader.service.d.ts +0 -10
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { MenuItem, MenuItemCommandEvent } from "primeng/api/menuitem";
|
|
2
|
-
import { QueryParamsHandling } from "@angular/router";
|
|
3
|
-
import { TooltipOptions } from "primeng/api";
|
|
4
|
-
export interface KvMenuItem {
|
|
5
|
-
/**
|
|
6
|
-
* Texto do item.
|
|
7
|
-
*/
|
|
8
|
-
label?: ValueOrFn<string | undefined>;
|
|
9
|
-
/**
|
|
10
|
-
* Ícone do item.
|
|
11
|
-
*/
|
|
12
|
-
icon?: ValueOrFn<string | undefined>;
|
|
13
|
-
/**
|
|
14
|
-
* Callback a ser executada quando o item é clicado.
|
|
15
|
-
*/
|
|
16
|
-
command?: (event: MenuItemCommandEvent) => void;
|
|
17
|
-
/**
|
|
18
|
-
* Link externo para navegar quando o item é clicado.
|
|
19
|
-
*/
|
|
20
|
-
url?: ValueOrFn<string | undefined>;
|
|
21
|
-
/**
|
|
22
|
-
* Array de filhos do item.
|
|
23
|
-
*/
|
|
24
|
-
items?: ValueOrFn<KvMenuItem[] | undefined>;
|
|
25
|
-
/**
|
|
26
|
-
* Visibilidade do submenu.
|
|
27
|
-
*/
|
|
28
|
-
expanded?: ValueOrFn<boolean | undefined>;
|
|
29
|
-
/**
|
|
30
|
-
* Quando verdadeiro, desabilita o item.
|
|
31
|
-
*/
|
|
32
|
-
disabled?: ValueOrFn<boolean | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
* Define se o elemento da dom do item é ou não criado.
|
|
35
|
-
*/
|
|
36
|
-
visible?: ValueOrFn<boolean | undefined>;
|
|
37
|
-
/**
|
|
38
|
-
* Specifies where to open the linked document.
|
|
39
|
-
*/
|
|
40
|
-
target?: ValueOrFn<string | undefined>;
|
|
41
|
-
/**
|
|
42
|
-
* Whether to escape the label or not. Set to false to display html content.
|
|
43
|
-
*/
|
|
44
|
-
escape?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Configuration for active router link.
|
|
47
|
-
*/
|
|
48
|
-
routerLinkActiveOptions?: ValueOrFn<any | undefined>;
|
|
49
|
-
/**
|
|
50
|
-
* Defines the item as a separator.
|
|
51
|
-
*/
|
|
52
|
-
separator?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Value of the badge.
|
|
55
|
-
*/
|
|
56
|
-
badge?: ValueOrFn<string | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* Tooltip of the item.
|
|
59
|
-
*/
|
|
60
|
-
tooltip?: ValueOrFn<string | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* Position of the tooltip item.
|
|
63
|
-
*/
|
|
64
|
-
tooltipPosition?: ValueOrFn<string | undefined>;
|
|
65
|
-
/**
|
|
66
|
-
* Style class of the badge.
|
|
67
|
-
*/
|
|
68
|
-
badgeStyleClass?: ValueOrFn<string | undefined>;
|
|
69
|
-
/**
|
|
70
|
-
* Inline style of the menuitem.
|
|
71
|
-
*/
|
|
72
|
-
style?: ValueOrFn<{
|
|
73
|
-
[klass: string]: any;
|
|
74
|
-
} | null | undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* Style class of the menuitem.
|
|
77
|
-
*/
|
|
78
|
-
styleClass?: ValueOrFn<string | undefined>;
|
|
79
|
-
/**
|
|
80
|
-
* Tooltip text of the item.
|
|
81
|
-
*/
|
|
82
|
-
title?: ValueOrFn<string | undefined>;
|
|
83
|
-
/**
|
|
84
|
-
* Identifier of the element.
|
|
85
|
-
*/
|
|
86
|
-
id?: ValueOrFn<string | undefined>;
|
|
87
|
-
/**
|
|
88
|
-
* Value of HTML data-* attribute.
|
|
89
|
-
*/
|
|
90
|
-
automationId?: ValueOrFn<any | undefined>;
|
|
91
|
-
/**
|
|
92
|
-
* Specifies tab order of the item.
|
|
93
|
-
*/
|
|
94
|
-
tabindex?: ValueOrFn<string | undefined>;
|
|
95
|
-
/**
|
|
96
|
-
* RouterLink definition for internal navigation.
|
|
97
|
-
*/
|
|
98
|
-
routerLink?: ValueOrFn<any | undefined>;
|
|
99
|
-
/**
|
|
100
|
-
* Query parameters for internal navigation via routerLink.
|
|
101
|
-
*/
|
|
102
|
-
queryParams?: ValueOrFn<{
|
|
103
|
-
[k: string]: any;
|
|
104
|
-
} | undefined>;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the hash fragment for the URL.
|
|
107
|
-
*/
|
|
108
|
-
fragment?: ValueOrFn<string | undefined>;
|
|
109
|
-
/**
|
|
110
|
-
* How to handle query parameters in the router link for the next navigation. One of:
|
|
111
|
-
merge : Merge new with current parameters.
|
|
112
|
-
preserve : Preserve current parameters.k.
|
|
113
|
-
*/
|
|
114
|
-
queryParamsHandling?: ValueOrFn<QueryParamsHandling | undefined>;
|
|
115
|
-
/**
|
|
116
|
-
* When true, preserves the URL fragment for the next navigation.
|
|
117
|
-
*/
|
|
118
|
-
preserveFragment?: ValueOrFn<boolean | undefined>;
|
|
119
|
-
/**
|
|
120
|
-
* When true, navigates without pushing a new state into history.
|
|
121
|
-
*/
|
|
122
|
-
skipLocationChange?: ValueOrFn<boolean | undefined>;
|
|
123
|
-
/**
|
|
124
|
-
* When true, navigates while replacing the current state in history.
|
|
125
|
-
*/
|
|
126
|
-
replaceUrl?: ValueOrFn<boolean | undefined>;
|
|
127
|
-
/**
|
|
128
|
-
* Inline style of the item's icon.
|
|
129
|
-
*/
|
|
130
|
-
iconStyle?: ValueOrFn<{
|
|
131
|
-
[klass: string]: any;
|
|
132
|
-
} | null | undefined>;
|
|
133
|
-
/**
|
|
134
|
-
* Class of the item's icon.
|
|
135
|
-
*/
|
|
136
|
-
iconClass?: ValueOrFn<string | undefined>;
|
|
137
|
-
/**
|
|
138
|
-
* Developer-defined state that can be passed to any navigation.
|
|
139
|
-
* @see {MenuItemState}
|
|
140
|
-
*/
|
|
141
|
-
state?: ValueOrFn<{
|
|
142
|
-
[k: string]: any;
|
|
143
|
-
} | undefined>;
|
|
144
|
-
/**
|
|
145
|
-
* Options of the item's tooltip.
|
|
146
|
-
* @see {TooltipOptions}
|
|
147
|
-
*/
|
|
148
|
-
tooltipOptions?: ValueOrFn<TooltipOptions | undefined>;
|
|
149
|
-
}
|
|
150
|
-
export type ValueOrFn<T> = T | ((data: any) => T);
|
|
151
|
-
export declare function getOrExecute<T>(vof: ValueOrFn<T>, data: any): T;
|
|
152
|
-
export declare function mapToMenuItem(kvMenuItem: KvMenuItem, data: any): MenuItem;
|
|
@@ -1,25 +0,0 @@
|
|
|
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' | 'dateMonthYear' | '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,31 +0,0 @@
|
|
|
1
|
-
import { TableConfigColumn } from './table.config.column';
|
|
2
|
-
import { KvMenuItem, ValueOrFn } from './kv-menuitem';
|
|
3
|
-
import Severity from '../../types/severity';
|
|
4
|
-
export interface TableConfig {
|
|
5
|
-
actions?: KvMenuItem[];
|
|
6
|
-
actionsLote?: ActionsLoteItem[];
|
|
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
|
-
}
|
|
20
|
-
export interface ActionsLoteItem {
|
|
21
|
-
/**
|
|
22
|
-
* Ignorado por enquanto
|
|
23
|
-
*/
|
|
24
|
-
severity?: Severity;
|
|
25
|
-
icon: string;
|
|
26
|
-
showAcoesLote?: boolean;
|
|
27
|
-
tooltip?: ValueOrFn<string | undefined>;
|
|
28
|
-
disabled?: ValueOrFn<boolean | undefined>;
|
|
29
|
-
visible?: ValueOrFn<boolean | undefined>;
|
|
30
|
-
command?: () => void;
|
|
31
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TableConfigColumn } from '../table/table.config.column';
|
|
2
|
-
import { KvMenuItem, ValueOrFn } from '../table/kv-menuitem';
|
|
3
|
-
import Severity from '../../types/severity';
|
|
4
|
-
import { ActionsLoteItem } from '../table/table.config';
|
|
5
|
-
export interface TreeTableConfig {
|
|
6
|
-
actions?: KvMenuItem[];
|
|
7
|
-
actionsLote?: ActionsLoteItem[];
|
|
8
|
-
actionsPai?: ActionsPaiItem[];
|
|
9
|
-
columns: TableConfigColumn[];
|
|
10
|
-
dataKey?: string;
|
|
11
|
-
rows?: any;
|
|
12
|
-
title?: string;
|
|
13
|
-
subtitle?: string;
|
|
14
|
-
lazy: boolean;
|
|
15
|
-
fieldGroup?: string;
|
|
16
|
-
enableCation?: boolean;
|
|
17
|
-
enableFilter?: boolean;
|
|
18
|
-
enableSelect?: boolean;
|
|
19
|
-
enableToggleNodes?: boolean;
|
|
20
|
-
disableControlCheckboxFunction?: (rowData: any, rowNode?: any) => boolean;
|
|
21
|
-
}
|
|
22
|
-
interface ActionsPaiItem {
|
|
23
|
-
severity?: Severity;
|
|
24
|
-
visible?: ValueOrFn<boolean | undefined>;
|
|
25
|
-
command: (event: MouseEvent) => void;
|
|
26
|
-
icon: string;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ComponentService {
|
|
5
|
-
readonly injector: Injector;
|
|
6
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
7
|
-
constructor(injector: Injector, changeDetectorRef: ChangeDetectorRef);
|
|
8
|
-
getFormControl(): FormControl<any> | undefined;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentService>;
|
|
11
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface paramsDialog {
|
|
6
|
-
id?: any;
|
|
7
|
-
closable?: boolean;
|
|
8
|
-
maximizable?: boolean;
|
|
9
|
-
popup?: boolean;
|
|
10
|
-
height?: string;
|
|
11
|
-
width?: string;
|
|
12
|
-
styleClass?: string;
|
|
13
|
-
header?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare class FormService {
|
|
16
|
-
static disableControl(formGroup: FormGroup, controName: string): void;
|
|
17
|
-
static disableAndClearControl(formGroup: FormGroup, controName: string, value?: any): void;
|
|
18
|
-
static enableControl(formGroup: FormGroup, controName: string): void;
|
|
19
|
-
static getFormValue<T>(formGroup: FormGroup, controName: string): T;
|
|
20
|
-
static hasControlError(formGroup: FormGroup, control: string, errorCode?: string): boolean;
|
|
21
|
-
static invalidForm(formGroup: FormGroup, notification?: any): void;
|
|
22
|
-
static openDialog(dialogService: DialogService, componentType: Type<any>, callBackFunction: Function, paramsDialog?: paramsDialog): void;
|
|
23
|
-
static setControlValue(formGroup: FormGroup, controName: string, value: any): void;
|
|
24
|
-
static setValidators(formGroup: FormGroup, controName: string, validators: ValidatorFn | ValidatorFn[] | null): void;
|
|
25
|
-
static clearValidators(formGroup: FormGroup, controName: string): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
|
|
28
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ConfirmationService, MessageService } from "primeng/api";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface QuestionConfig {
|
|
4
|
-
type?: 'question' | 'alert';
|
|
5
|
-
message: string;
|
|
6
|
-
accept?: Function;
|
|
7
|
-
reject?: Function;
|
|
8
|
-
}
|
|
9
|
-
export interface DialogConfig {
|
|
10
|
-
type: 'info' | 'alert' | 'error';
|
|
11
|
-
message: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class NotificationService {
|
|
14
|
-
private readonly confirmationService;
|
|
15
|
-
private readonly messageService;
|
|
16
|
-
constructor(confirmationService: ConfirmationService, messageService: MessageService);
|
|
17
|
-
question(config: QuestionConfig): void;
|
|
18
|
-
dialog(config: DialogConfig): void;
|
|
19
|
-
toastSuccess(message: string, time?: number): void;
|
|
20
|
-
toastInfo(message: string, time?: number): void;
|
|
21
|
-
toastWarn(message: string, time?: number): void;
|
|
22
|
-
toastError(message: string, time?: number): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ObjectService {
|
|
3
|
-
static filterObject(array: any, propertyName: string, value: any): any;
|
|
4
|
-
static findObject(array: any, propertyName: string, value: any): any;
|
|
5
|
-
static getProperty<T>(obj: T, propertyName: string): T[keyof T];
|
|
6
|
-
static objCompare(obj1: any, obj2: any): boolean;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ObjectService>;
|
|
9
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MenuItem } from 'primeng/api';
|
|
3
|
-
import { UIChart } from 'primeng/chart';
|
|
4
|
-
import { ChartConfig } from '../../api/components/chart/chart.config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const PeriodosChart: {
|
|
7
|
-
Ultimos180Dias: number;
|
|
8
|
-
Ultimos120Dias: number;
|
|
9
|
-
Ultimos90Dias: number;
|
|
10
|
-
Ultimos60Dias: number;
|
|
11
|
-
Ultimos45Dias: number;
|
|
12
|
-
Ultimos30Dias: number;
|
|
13
|
-
Ultimos15Dias: number;
|
|
14
|
-
Ultimos7Dias: number;
|
|
15
|
-
DataAtual: number;
|
|
16
|
-
Proximos7Dias: number;
|
|
17
|
-
Proximos15Dias: number;
|
|
18
|
-
Proximos30Dias: number;
|
|
19
|
-
Proximos45Dias: number;
|
|
20
|
-
Proximos60Dias: number;
|
|
21
|
-
Proximos90Dias: number;
|
|
22
|
-
Proximos120Dias: number;
|
|
23
|
-
Proximos180Dias: number;
|
|
24
|
-
};
|
|
25
|
-
export declare class KvChartComponent implements OnInit {
|
|
26
|
-
chartConfig: ChartConfig;
|
|
27
|
-
periodosDisponiveis: {
|
|
28
|
-
label: string;
|
|
29
|
-
value: number;
|
|
30
|
-
}[];
|
|
31
|
-
title: string;
|
|
32
|
-
type: 'doughnut' | 'pie' | 'bar' | 'line';
|
|
33
|
-
indexAxis: 'y' | 'x';
|
|
34
|
-
displayLegend: boolean;
|
|
35
|
-
showDatas: boolean;
|
|
36
|
-
showMenu: boolean;
|
|
37
|
-
selectedData: number;
|
|
38
|
-
enablePeriodos: number[];
|
|
39
|
-
data: any;
|
|
40
|
-
options: any;
|
|
41
|
-
periodos: any[];
|
|
42
|
-
menuItems: MenuItem[];
|
|
43
|
-
onPrintReport: EventEmitter<any>;
|
|
44
|
-
onSelectionValue: EventEmitter<any>;
|
|
45
|
-
chart?: UIChart;
|
|
46
|
-
constructor();
|
|
47
|
-
configureGraphic(): void;
|
|
48
|
-
private configOptions;
|
|
49
|
-
private initDatas;
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
printReport(): void;
|
|
52
|
-
reInit(config: any): void;
|
|
53
|
-
protected selectionValue(event: any): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvChartComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvChartComponent, "kv-chart", never, { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "indexAxis": { "alias": "indexAxis"; "required": false; }; "displayLegend": { "alias": "displayLegend"; "required": false; }; "showDatas": { "alias": "showDatas"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "selectedData": { "alias": "selectedData"; "required": false; }; "enablePeriodos": { "alias": "enablePeriodos"; "required": false; }; }, { "onPrintReport": "onPrintReport"; "onSelectionValue": "onSelectionValue"; }, never, never, false, never>;
|
|
56
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class KvErrorComponent {
|
|
5
|
-
hasError: boolean | undefined;
|
|
6
|
-
formControl: FormControl;
|
|
7
|
-
set setHasError(value: boolean | undefined);
|
|
8
|
-
emitError: EventEmitter<boolean>;
|
|
9
|
-
constructor();
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvErrorComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvErrorComponent, "kv-error", never, { "formControl": { "alias": "formControl"; "required": false; }; "setHasError": { "alias": "hasError"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class KvLoaderService {
|
|
4
|
-
static isLoading: Subject<boolean>;
|
|
5
|
-
static show(): void;
|
|
6
|
-
static hide(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoaderService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KvLoaderService>;
|
|
9
|
-
}
|
|
10
|
-
export declare const loading: () => any;
|